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
app/src/main/java/de/schweininchen/shintaikan/shintaikan/jetpack/pages/Home.kt
Mister-Muffin
287,290,820
false
{"Kotlin": 125251}
package de.schweininchen.shintaikan.shintaikan.jetpack.pages import android.Manifest import android.app.Activity import android.content.Intent import android.os.Build import androidx.annotation.RequiresApi import androidx.compose.foundation.Image import androidx.compose.foundation.isSystemInDarkTheme import androidx.c...
0
Kotlin
1
1
298fdb38ef624617bdda7853eeabd0f732833e9a
12,004
Shintaikan
Apache License 2.0
app/src/main/java/de/schweininchen/shintaikan/shintaikan/jetpack/pages/Home.kt
Mister-Muffin
287,290,820
false
{"Kotlin": 125251}
package de.schweininchen.shintaikan.shintaikan.jetpack.pages import android.Manifest import android.app.Activity import android.content.Intent import android.os.Build import androidx.annotation.RequiresApi import androidx.compose.foundation.Image import androidx.compose.foundation.isSystemInDarkTheme import androidx.c...
0
Kotlin
1
1
298fdb38ef624617bdda7853eeabd0f732833e9a
12,004
Shintaikan
Apache License 2.0
src/jvmMain/kotlin/app/thelema/lwjgl3/audio/JavaSoundAudioRecorder.kt
zeganstyl
275,550,896
false
null
/* * Copyright 2020-2021 <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 ...
3
Kotlin
5
61
8e2943b6d2de3376ce338025b58ff31c14097caf
2,086
thelema-engine
Apache License 2.0
server/wolt22/src/main/kotlin/com/junction/wolt22/beans/FeeDTO/Pickup.kt
carlotacb
561,881,765
false
null
package com.junction.wolt22.beans.FeeDTO import com.junction.wolt22.beans.DeliveryDTO.Location data class Pickup( val location: Location )
0
Kotlin
0
2
774d1c098803fea9da09950050f8bfc5ee43021a
149
finncycle
MIT License
app/src/main/java/xyz/teamgravity/navigationcomponent/activity/MainActivity.kt
raheemadamboev
327,289,602
false
null
package xyz.teamgravity.navigationcomponent.activity import android.os.Bundle import android.view.Menu import android.view.MenuItem import android.view.View import androidx.appcompat.app.AppCompatActivity import androidx.navigation.NavController import androidx.navigation.fragment.NavHostFragment import androidx.navig...
0
Kotlin
0
0
b4ab2f7cbe984899dbd72f5badfecc354d7c745d
2,896
navigation-component-app
Apache License 2.0
braintrust-java-core/src/test/kotlin/com/braintrustdata/api/services/blocking/organizations/MemberServiceTest.kt
braintrustdata
752,086,100
false
{"Kotlin": 4356758, "Shell": 3646, "Dockerfile": 399}
// File generated from our OpenAPI spec by Stainless. package com.braintrustdata.api.services.blocking.organizations import com.braintrustdata.api.TestServerExtension import com.braintrustdata.api.client.okhttp.BraintrustOkHttpClient import com.braintrustdata.api.models.* import org.junit.jupiter.api.Test import org....
1
Kotlin
0
2
8a4a749dad3e9167ec2a416cf4accca686018ddb
2,004
braintrust-java
Apache License 2.0
app/src/main/java/tech/salroid/filmy/data/tmdb_account/AddRating.kt
salRoid
64,316,425
false
null
/* package tech.salroid.filmy.data.tmdb_account import android.app.NotificationManager import android.content.Context import android.util.Log import androidx.core.app.NotificationCompat import com.android.volley.AuthFailureError import com.android.volley.Response import com.android.volley.VolleyLog import com.android....
1
null
184
733
c6ac0c3b47964e552b8d44a0b586e1ce3b418a9a
5,534
Filmy
Apache License 2.0
src/main/kotlin/com/sliderzxc/gradle/publishing/config/LibraryConfig.kt
sliderzxc
727,815,675
false
{"Kotlin": 37908}
package com.sliderzxc.gradle.publishing.config /** * Data class representing the configuration for a library to be published. * * @property group The group ID of the library. * @property version The version of the library. * @property name The name of the library. * @property description The description of the l...
0
Kotlin
0
3
ffbe5962ef619859b2bd9b1638dd65578fca532e
1,153
gradle-setup-plugin
Apache License 2.0
app/src/main/java/com/seongugjung/googlemap/sample/MapApplication.kt
SeongUgJung
200,516,632
false
{"Kotlin": 29505}
package com.seongugjung.googlemap.sample import android.content.Context import androidx.multidex.MultiDexApplication import com.seongugjung.googlemap.sample.di.ApplicationComponent import com.seongugjung.googlemap.sample.di.DaggerApplicationComponent import timber.log.Timber class MapApplication : MultiDexApplication...
0
Kotlin
0
6
c85bf071dca303c101a609cf735f829addcf3235
804
googlemapsample
MIT License
backend/src/monitoring/NewRelic.kt
alxgrk
338,153,431
false
null
package de.alxgrk.monitoring import io.ktor.application.* import io.micrometer.core.instrument.Clock import io.micrometer.core.instrument.Metrics import io.micrometer.core.instrument.binder.jvm.JvmGcMetrics import io.micrometer.core.instrument.binder.jvm.JvmMemoryMetrics import io.micrometer.core.instrument.binder.jvm...
0
Kotlin
0
0
5dc650a881a9532020bcb7a61342231cc868ab81
1,176
new-relic-hackathon-firewatcher
MIT License
infra/gradle/src/main/kotlin/com/github/c64lib/gradle/preprocess/charpad/MetadataExtension.kt
Cumbayah
405,651,085
true
{"Kotlin": 274338, "Shell": 560}
/* MIT License Copyright (c) 2018-2022 c64lib: The Ultimate Commodore 64 Library 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 us...
0
Kotlin
0
0
d9d66768bab1a1899a4fbe30d25c8cd30c342f56
1,933
gradle-retro-assembler-plugin
MIT License
feature-countries/src/main/java/com/coldfier/feature_countries/ui/mvi/CountriesAction.kt
Dmitriy1892
495,756,413
false
null
package com.coldfier.feature_countries.ui.mvi import com.coldfier.core_data.repository.models.Country import com.coldfier.core_data.repository.models.CountryShort sealed interface CountriesAction { object SkeletonsLoading : CountriesAction class CountriesListLoaded(val countries: List<CountryShort>) : Count...
0
Kotlin
0
0
0c474fd577ab001d0901f3ed71c6ca391a6d087d
501
DizzyTrip
Apache License 2.0
app/src/main/java/com/ovais/sadapaycasestudy/features/home/presentation/HomeViewModel.kt
Syedovaiss
501,572,760
false
{"Kotlin": 51027}
package com.ovais.sadapaycasestudy.features.home.presentation import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.ovais.sadapaycasestudy.R import com.ovais.sadapaycasestudy.base.BaseViewModel import com.ovais.sadapaycasestudy.features.home.data.GithubRepositoryUIData import com.ovai...
0
Kotlin
0
1
b779584cfd64c65cb75920b60a6a159b599af213
2,575
Clean-Architecture-Android
MIT License
educational-core/src/com/jetbrains/edu/learning/marketplace/update/MarketplaceUpdateChecker.kt
dragancajic
368,045,480
true
{"Kotlin": 3261790, "HTML": 573177, "Java": 552027, "CSS": 12158, "Python": 5553, "JavaScript": 315}
package com.jetbrains.edu.learning.marketplace.update import com.intellij.openapi.application.ApplicationManager import com.intellij.openapi.application.runInEdt import com.intellij.openapi.components.Service import com.intellij.openapi.components.service import com.intellij.openapi.project.Project import com.intellij...
0
null
0
0
687e434cb8499476729c055d1e947a31491bb999
1,894
educational-plugin
Apache License 2.0
app/src/main/java/com/kopai/shinkansen/view/authentication/login/LoginViewModel.kt
kopiai
805,653,375
false
{"Kotlin": 198594}
package com.kopai.shinkansen.view.authentication.login import androidx.lifecycle.ViewModel import com.kopai.shinkansen.data.repository.UserRepository import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject @HiltViewModel class LoginViewModel @Inject constructor( private val userR...
0
Kotlin
0
0
7756ffc4353475562b0a0cebd5f60e552967dcef
505
kopai-android
MIT License
src/main/kotlin/com/rustyrazorblade/easycasslab/commands/UploadAuthorizedKeys.kt
rustyrazorblade
253,851,902
false
{"Kotlin": 100718, "Jsonnet": 47770, "Shell": 20682, "HCL": 6749, "Python": 4215, "Dockerfile": 1781}
package com.rustyrazorblade.easycasslab.commands import com.beust.jcommander.Parameter import com.beust.jcommander.Parameters import com.rustyrazorblade.easycasslab.Context import com.rustyrazorblade.easycasslab.configuration.Host import com.rustyrazorblade.easycasslab.configuration.ServerType import org.apache.sshd.s...
51
Kotlin
3
3
6010505279f0d3f71fb422bef6ae30633dbdc106
1,812
easy-cass-lab
Apache License 2.0
component/src/main/java/cn/nekocode/kotgo/component/rx/RxLifecycle.kt
tiagobarreto
76,178,442
true
{"Kotlin": 37603, "Python": 9296, "Java": 120}
package cn.nekocode.kotgo.component.rx import rx.Observable import rx.Subscriber import rx.android.schedulers.AndroidSchedulers import rx.subjects.BehaviorSubject /** * @author nekocode (<EMAIL>) */ class RxLifecycle { enum class Event { DESTROY } val eventBehavior: BehaviorSubject<Event> = Beh...
0
Kotlin
0
0
6886d577268321b89985019277980927d13950d5
1,836
kotgo
Apache License 2.0
spring-bukkit-core/src/main/kotlin/kr/summitsystems/springbukkit/command/CommandContext.kt
summit-systems
728,399,361
false
null
package kr.summitsystems.springbukkit.command import org.bukkit.command.CommandSender interface CommandContext { val sender: CommandSender val label: String fun sendUsage() fun sendUsageAll() fun getParameters(): Map<Int, Any?> }
0
null
0
8
ae8bd31903e3d6e5d6e7eef2a227488988bd35f5
255
spring-bukkit
Apache License 2.0
app/src/main/java/com/martinszuc/phishing_emails_detection/ui/view/DashboardFragment.kt
martinszuc
698,968,668
false
{"Kotlin": 36756}
package com.martinszuc.phishing_emails_detection.ui.component.dashboard import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.navigation.fragment.findNavController import com.martinszuc.phishing_emails_de...
0
Kotlin
0
0
b79af54a702009a99be2cfff5b67b79d57db1f99
1,300
phishing-emails-detection
MIT License
app/src/main/java/com/martinszuc/phishing_emails_detection/ui/view/DashboardFragment.kt
martinszuc
698,968,668
false
{"Kotlin": 36756}
package com.martinszuc.phishing_emails_detection.ui.component.dashboard import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.navigation.fragment.findNavController import com.martinszuc.phishing_emails_de...
0
Kotlin
0
0
b79af54a702009a99be2cfff5b67b79d57db1f99
1,300
phishing-emails-detection
MIT License
android-applications/chat-application/app/src/main/java/io/codelabs/chatapplication/view/fragment/BlockedUsersFragment.kt
kevin2-cyber
437,880,493
false
{"Kotlin": 765037, "CSS": 301626, "SCSS": 287609, "HTML": 208821, "JavaScript": 16612, "Java": 2758, "TypeScript": 366}
package io.codelabs.chatapplication.view.fragment import android.os.Bundle import android.view.View import androidx.recyclerview.widget.LinearLayoutManager import com.afollestad.materialdialogs.MaterialDialog import com.google.firebase.firestore.Query import io.codelabs.chatapplication.R import io.codelabs.chatapplica...
0
Kotlin
0
1
32e38fd6bfe6074f23f6cd630c20d8a53f91156d
2,616
ug-short-course
MIT License
parser/src/main/kotlin/gay/pizza/pork/parser/NodeAttribution.kt
GayPizzaSpecifications
680,636,847
false
{"Kotlin": 277930}
package gay.pizza.pork.parser import gay.pizza.pork.ast.gen.Node import gay.pizza.pork.ast.gen.NodeType interface NodeAttribution { fun push(token: Token) fun <T: Node> adopt(node: T) fun <T: Node> produce(type: NodeType, block: () -> T): T }
0
Kotlin
1
0
9338b01b4832f838bda54cedb54893a13f37f418
251
pork
MIT License
project/app-domain/src/main/java/mobi/lab/sample/domain/gateway/AuthGateway.kt
LabMobi
710,371,108
false
{"Kotlin": 131868, "Ruby": 5150, "Shell": 1413}
package mobi.lab.sample.domain.gateway import io.reactivex.rxjava3.core.Single import mobi.lab.sample.domain.entities.Session interface AuthGateway { fun login(username: String, password: String): Single<Session> }
1
Kotlin
0
0
d0c67bf89de89c76ff2fc59ea6512aa059ff5b17
221
project-creator-android
MIT License
android/src/main/java/tk/frostbit/spaceshipconnect/NotificationIds.kt
dmitrymark
403,150,726
true
{"C++": 80223, "Kotlin": 24704, "C": 2489, "CMake": 2191}
package tk.frostbit.spaceshipconnect object NotificationIds { const val CONNECTION = 1 }
0
null
0
0
99b6f49412f499ef9fe71a154f30c2c204409225
96
SpaceshipConnect
MIT License
ktvn/src/main/kotlin/com/github/benpollarduk/ktvn/logic/structure/Chapter.kt
benpollarduk
710,310,174
false
{"Kotlin": 183765}
package com.github.benpollarduk.ktvn.logic.structure import com.github.benpollarduk.ktvn.io.ChapterRestorePoint import com.github.benpollarduk.ktvn.logic.Flags /** * A chapter within a [Story]. */ public class Chapter private constructor(setup: (Chapter) -> Unit) { private val scenes: MutableList<Scene> = mutab...
0
Kotlin
0
0
b2045907b2b40ec8c36951195d3151d6076c8522
4,175
ktvn
MIT License
src/android/app/src/main/kotlin/br/com/jitsukawa/correcao_monetaria/MainActivity.kt
paulo-jitsukawa
296,995,010
false
{"Dart": 29151, "Swift": 404, "Kotlin": 140, "Objective-C": 38}
package br.com.jitsukawa.correcao_monetaria import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
7
4576a4037bad179533beb8da6de3f9d94c1293ab
140
correcao-monetaria
MIT License
app/src/androidTest/java/fr/phlab/notesrapides/bdd/UserPreferenceDaoTest.kt
pierre-henriLeroux
861,836,618
false
{"Kotlin": 120047}
package fr.phlab.notesrapides.bdd import androidx.room.Room import androidx.test.core.app.ApplicationProvider.getApplicationContext import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.filters.SmallTest import fr.phlab.notesrapides.data.bdd.AppDatabase import fr.phlab.notesrapides.data.bdd.UserPre...
0
Kotlin
0
0
d925ed1df1c663ee0e8681b627a052414843db92
2,214
Notes-Rapides
MIT License
app/src/main/java/com/captechventures/darktheme/util/MockRepo.kt
CapTechMobile
187,369,057
false
{"Kotlin": 15736}
package com.captechventures.darktheme.util import com.captechventures.darktheme.R import com.captechventures.darktheme.model.User /*Copyright 2019 Captech Consulting 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 ...
0
Kotlin
1
0
fda2a2d5772e4d9c4c80e03a8641b1abd5f5236c
2,936
DarkTheme
Apache License 2.0
src/main/kotlin/no/nav/sosialhjelp/modia/fodselsnummer/FodselsnummerService.kt
navikt
216,780,859
false
{"Kotlin": 460027, "Dockerfile": 427}
package no.nav.sosialhjelp.modia.fodselsnummer import no.nav.sosialhjelp.modia.redis.RedisKeyType import no.nav.sosialhjelp.modia.redis.RedisService import no.nav.sosialhjelp.modia.utils.objectMapper import org.springframework.stereotype.Component import java.util.UUID @Component class FodselsnummerService( priva...
3
Kotlin
0
1
7151de3ae64e4973f3cd64d67a90e50cb54d74e5
1,014
sosialhjelp-modia-api
MIT License
projects/dps-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/model/Document.kt
ministryofjustice
500,855,647
false
{"Kotlin": 3900482, "HTML": 58177, "D2": 30565, "Ruby": 25392, "Shell": 15576, "SCSS": 6240, "HCL": 2712, "Dockerfile": 2414, "JavaScript": 1344, "Python": 268}
package uk.gov.justice.digital.hmpps.model import java.time.ZonedDateTime data class Document( val id: String, val name: String, val description: String?, val type: String, val author: String?, val createdAt: ZonedDateTime? )
4
Kotlin
0
2
1617af44a3e78eca9f192af83a46cf050cd52996
252
hmpps-probation-integration-services
MIT License
app/src/main/java/com/salpiras/citizendocs/model/local/LocalDocsDataSource.kt
salpiras
829,430,067
false
{"Kotlin": 17858}
package com.salpiras.citizendocs.model.local import com.salpiras.citizendocs.model.local.db.EntityDocument import kotlinx.coroutines.flow.Flow import javax.inject.Inject class LocalDocsDataSource @Inject constructor(private val docsDao: DocsDao) { fun getAllDocs() : Flow<List<EntityDocument>> { return docsDao.g...
0
Kotlin
0
0
111a71dec839dc05f2b60bb58443efcd4f99da82
338
citizen-docs
MIT License
v2-setup-sqlDelight-in-the-project/starter-project/app/src/main/java/com/droidcon/tinyinvoice/data/local/database/TaxDaoImpl.kt
droidcon-academy
733,026,693
false
{"Kotlin": 789349}
package com.droidcon.tinyinvoice.data.local.database import com.droidcon.tinyinvoice.domain.model.Tax import kotlinx.coroutines.flow.Flow import javax.inject.Inject class TaxDaoImpl @Inject constructor() : TaxDao { override suspend fun addUpdateTax(desc: String, value: Long) = TODO() override fun getTaxes()...
0
Kotlin
0
0
0d6a5c74c7b6476fe64bc5fb84eedf4959aa612e
458
android-mc-sqldelight
Apache License 2.0
app/src/main/java/gads2020/damolaolarewaju/testprojectgads/models/LearningLeaderModel.kt
DeonWaju
294,778,056
false
null
package gads2020.damolaolarewaju.testprojectgads.models import com.squareup.moshi.Json data class LearningLeaderModel ( @field:Json(name = "name") val name: String, @field:Json(name = "hours") val hours: Int, @field:Json(name = "country") val country: String, @field:Json(name = "badgeUrl") val badgeUr...
0
Kotlin
0
1
f6079a897b19e5da257b2c1f76caf3382b62275a
331
Gads2020-Android-Project
MIT License
PluginsAndFeatures/azure-toolkit-for-intellij/idea/src/com/microsoft/azure/hdinsight/spark/console/SparkExecuteInConsoleActionPromoter.kt
JetBrains
137,064,201
false
null
/* * Copyright (c) Microsoft Corporation * * 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 limitation * ...
73
null
10
41
a8b64627376a5144a71725853ba4217b97044722
1,844
azure-tools-for-intellij
MIT License
rsync/src/test/kotlin/jetbrains/rsynk/TransmissionFileRepresentationTest.kt
richardy2012
96,218,024
true
{"Kotlin": 167498, "Python": 3069, "FreeMarker": 566}
/** * Copyright 2016 - 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 a...
0
Kotlin
0
0
75dfd34ec9b90a3f4ab0eddbd2d4961ae8496491
6,529
rsynk
Apache License 2.0
src/main/kotlin/main.kt
twostack
382,867,054
false
null
import org.twostack.bitcoin4j.Address import org.twostack.bitcoin4j.PrivateKey import org.twostack.bitcoin4j.Utils import org.twostack.bitcoin4j.params.NetworkAddressType import org.twostack.bitcoin4j.script.Script import org.twostack.bitcoin4j.transaction.* import java.math.BigInteger /* Alice spends to Bob using the...
0
Kotlin
0
2
0eab78587b6ea0e7fed285196d8bb8ec0ff88e29
4,606
scrypt-demo
Apache License 2.0
survey/src/test/java/pandemic/response/framework/dto/SurveyTest.kt
PandemicResponseFramework
506,140,103
false
{"Kotlin": 89601, "HTML": 6008}
package pandemic.response.framework.dto import com.squareup.moshi.JsonAdapter import org.junit.Test import pandemic.response.framework.repo.provideMoshi class SurveyTest { val json = """ { "id": 32, "questions": [{ "type": "BOOL", "id": 1, "question": "Q1", ...
0
Kotlin
1
0
4cdadc88e7f47f99e67c3469192ce4615bc5a2ea
6,035
survey-app-android
MIT License
domain/src/test/kotlin/com/rviewer/beers/domain/validator/UsageValidatorShould.kt
makcon
736,968,979
false
{"Kotlin": 75766, "Makefile": 274}
package com.rviewer.beers.domain.validator import com.rviewer.beers.domain.exception.ClosedAtInvalidException import com.rviewer.beers.domain.mother.UsageMother import io.mockk.impl.annotations.InjectMockKs import io.mockk.junit5.MockKExtension import org.junit.jupiter.api.Test import org.junit.jupiter.api.assertDoesN...
0
Kotlin
0
0
218741c7facf8ea72e75b43bf0f0a42d8ba8016c
1,413
beers-service
MIT License
desafioPix-Rest/src/main/kotlin/br/com/zup/edu/shared/validations/ValidUUID.kt
raphaelarm0103
361,878,391
true
{"Kotlin": 18418}
package br.com.zup.edu.shared.validations import javax.validation.Constraint import javax.validation.ReportAsSingleViolation import javax.validation.constraints.Pattern @ReportAsSingleViolation @Constraint(validatedBy = []) @Pattern( regexp = "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{1...
0
Kotlin
0
0
87371901d6416862b69ff508763651099bf3e51d
590
orange-talents-02-template-pix-keymanager-rest
Apache License 2.0
app/src/main/java/com/dede/nativetools/netspeed/NetSpeedConfiguration.kt
hushenghao
242,718,110
false
null
package com.dede.nativetools.netspeed import android.graphics.Bitmap import android.os.Parcelable import androidx.annotation.FloatRange import com.dede.nativetools.netspeed.typeface.TypefaceGetter import kotlinx.parcelize.IgnoredOnParcel import kotlinx.parcelize.Parcelize /** * 网速指示器配置 */ @Parcelize data class Net...
0
Kotlin
1
5
f7550e37d20efe555914c0c2428a048b131a89aa
6,012
NativeTools
Apache License 2.0
samples/starter-mobile-app/src/main/kotlin/researchstack/domain/usecase/study/WithdrawFromAllStudyUseCase.kt
S-ResearchStack
520,365,275
false
{"Kotlin": 178868, "AIDL": 4785}
package researchstack.domain.usecase.study import kotlinx.coroutines.flow.first import researchstack.domain.repository.StudyRepository import javax.inject.Inject class WithdrawFromAllStudyUseCase @Inject constructor(private val studyRepository: StudyRepository) { suspend operator fun invoke() { studyRepos...
0
Kotlin
20
26
58b4b9b64623a7d2a0865307d490a59a7538d7cd
446
app-sdk
Apache License 2.0
app/src/main/java/com/leperlier/quinquis/lentz/imdb/ui/home/HomeFragment.kt
RomainLENTZ
773,319,710
false
{"Kotlin": 119708}
package com.leperlier.quinquis.lentz.imdb.ui.home import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.lifecycle.Observer import androidx.recyclerview.widget.Linea...
0
Kotlin
0
0
674e161a282db8794a306806779fd18b0099380b
6,845
mini-projet-group_quinquis_leperlier_lentz
Apache License 2.0
app/src/main/java/com/mrgames13/jimdo/feinstaubapp/ui/adapter/viewpager/ViewPagerAdapterSensor.kt
salusutis
233,404,101
true
{"Kotlin": 360620}
/* * Copyright © 2019 Marc Auberer. All rights reserved. */ package com.mrgames13.jimdo.feinstaubapp.ui.adapter.viewpager import android.content.Context import android.content.Intent import android.os.Bundle import android.os.Handler import android.view.LayoutInflater import android.view.View import android.view.Vi...
0
null
0
0
8297917affe5f1538c9b254284bc9242e39fbef1
67,426
feinstaub-app
MIT License
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/cognito/StandardAttributesMaskDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 70198112}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package cloudshift.awscdk.dsl.services.cognito import cloudshift.awscdk.common.CdkDslMarker import ko...
4
Kotlin
0
3
256ad92aebe2bcf9a4160089a02c76809dbbedba
4,861
awscdk-dsl-kotlin
Apache License 2.0
app/src/main/java/com/wceng/poems/logic/dao/PoemDao.kt
WCeng
802,470,283
false
{"Kotlin": 4739}
package com.wceng.poems.logic.dao import androidx.room.Dao import androidx.room.Delete import androidx.room.Insert import androidx.room.Query import androidx.room.Update import com.wceng.poems.logic.model.Poem @Dao interface PoemDao { @Insert suspend fun insertPoem(poem: Poem) @Delete suspend fun de...
0
Kotlin
0
0
ad8589b2d8db112f42dc854c144e46d486d5ad19
748
Poems
Apache License 2.0
app/src/main/kotlin/com/xiaocydx/inputview/sample/scene/figure/content/TextTransformer.kt
xiaocydx
586,406,251
false
{"Kotlin": 484544}
package com.xiaocydx.inputview.sample.scene.figure.content import android.animation.RectEvaluator import android.graphics.Rect import android.view.View import android.view.ViewGroup import androidx.core.view.WindowInsetsCompat import androidx.core.view.marginBottom import androidx.core.view.updatePadding import com.xi...
0
Kotlin
0
7
5514a5fcac02ddb9cfcbbb201a08d06f71d4cdca
4,915
InputView
Apache License 2.0
app/src/main/java/com/looktabinc/feature/webview/WebViewActivity.kt
Looktab-naer
568,419,392
false
null
package com.looktabinc.feature.webview import android.content.Context import android.content.Intent import android.util.Log import android.view.WindowManager import androidx.core.content.ContextCompat import com.looktabinc.feature.webview.bridge.WebAPIControllerInterface import com.looktabinc.* import com.looktabinc.A...
0
Kotlin
0
0
77c9d1672509fa52b680d742da1d698dc3665d10
3,643
android
MIT License
src/test/kotlin/com/herokuapp/ourairports/features/IcaoInputTest.kt
alexmaryin
433,391,973
false
null
package com.herokuapp.ourairports.features import com.herokuapp.ourairports.features.utils.correctIcao import org.junit.Test import kotlin.test.assertEquals class IcaoInputTest { @Test fun `correctIcao should return null if ICAO not starts with acceptable symbols`() { assertEquals(null, correctIcao("...
0
Kotlin
0
0
0d2a86a2197fa2e289f42bdc54f36e865162a182
1,166
ourairports_json
The Unlicense
app/src/main/java/dev/lucianosantos/exerciseplanner/core/repository/IExerciseRepository.kt
lucianosantosdev
579,394,983
false
null
package dev.lucianosantos.exerciseplanner.core.repository import dev.lucianosantos.exerciseplanner.core.model.ExerciseDomain interface IExerciseRepository { suspend fun getById(exerciseId: String) : ExerciseDomain? suspend fun addExercise(exercise: ExerciseDomain) suspend fun fetchExercises(routineId: ...
4
Kotlin
0
0
4f76125af0407248f0cb0d2441b0f0d50cc1df51
360
ExercisePlanner
Apache License 2.0
charset-ext/src/com/fleeksoft/charset/cs/ext/IBM948.kt
fleeksoft
874,918,183
false
{"Kotlin": 8845941}
package com.fleeksoft.charset.cs.ext import com.fleeksoft.charset.Charset import com.fleeksoft.charset.CharsetDecoder import com.fleeksoft.charset.CharsetEncoder import com.fleeksoft.charset.cs.DoubleByte class IBM948 : Charset("x-IBM948") { fun contains(cs: Charset): Boolean { return ((cs.name == "...
1
Kotlin
0
2
a16af685a558ad177749c12d7840a7b67aece66c
204,976
charset
MIT License
samples/kotlin-reactive/src/main/java/co/windly/ktxprefs/sample/kotlinsimple/MainActivity.kt
tommus
169,000,678
false
null
package co.windly.ktxprefs.sample.kotlinsimple.presentation.main import android.app.Activity import android.os.Bundle import android.util.Log import co.windly.ktxprefs.sample.kotlinsimple.R.layout import co.windly.ktxprefs.sample.kotlinsimple.persistence.shared.cache.UserCache import dagger.android.AndroidInjection im...
1
Kotlin
3
9
d900649e3e1383cbf2f9619d5a7ea2fdbbf0bba8
5,312
ktx-prefs
Apache License 2.0
app/src/main/kotlin/com/jujodevs/appdevelopertests/data/UserRemoteMediator.kt
JuJoDevs
734,099,935
false
{"Kotlin": 126435}
package com.jujodevs.appdevelopertests.data import androidx.paging.ExperimentalPagingApi import androidx.paging.LoadType import androidx.paging.PagingState import androidx.paging.RemoteMediator import com.jujodevs.appdevelopertests.data.database.UserDao import com.jujodevs.appdevelopertests.data.database.UserEntity im...
0
Kotlin
0
0
5ad9177338f33b8b880067b449f51f5b48a28a8e
1,943
AppDeveloperTests
MIT License
app/src/main/java/com/bunchcode/austinplaces/app/SearchResultsAdapter.kt
sperzion
133,174,326
false
null
package com.bunchcode.austinplaces.app import android.annotation.SuppressLint import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import com.bumptech.glide.Glide import com...
2
Kotlin
0
0
eaa1f8f19779fe9fc05105e044298c198ce5d042
2,460
austin-places
MIT License
preferencesplus/src/main/java/com/dertyp7214/preferencesplus/core/Int.kt
DerTyp7214
168,885,650
false
null
package com.dertyp7214.preferencesplus.core import android.content.Context import android.graphics.Color import androidx.annotation.ColorInt fun Int.dp(context: Context): Int { val scale = context.resources.displayMetrics.density return (this * scale + 0.5f).toInt() } @ColorInt fun Int.saturate(value: Float)...
0
Kotlin
0
1
1a35bb20257e52816e6d111503fc3c2768fd4112
471
PreferencesPlus
MIT License
gateway-service/src/main/kotlin/com/zakharenko/gatewayservice/controller/PatientController.kt
Nikitondri
789,867,005
false
{"Kotlin": 26088, "Dockerfile": 999}
package com.zakharenko.gatewayservice.controller import com.zakharenko.gatewayservice.model.CreatePatientRequest import com.zakharenko.gatewayservice.service.keycloak.KeycloakAuthService import com.zakharenko.gatewayservice.service.patient.PatientService import com.zakharenko.patient.api.PatientResponse import org.spr...
0
Kotlin
0
0
834427d58d070ac8c0e88480857f275b218e5c09
1,793
auth-service
MIT License
app/src/main/java/com/mafqud/android/report/lost/ReportLostFragment.kt
MafQud
483,257,198
false
null
package com.mafqud.android.report.lost import android.net.Uri import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.ActivityResultLauncher import androidx.acti...
0
Kotlin
6
35
309e82d51d6c1c776365643ef48ecb78fd243c23
4,929
MafQud-Android
MIT License
core/src/main/kotlin/materialui/components/button/button.kt
zole40
259,675,672
true
{"Kotlin": 352041}
package materialui.components.button import kotlinx.html.BUTTON import kotlinx.html.Tag import kotlinx.html.TagConsumer import materialui.components.button.enums.ButtonColor import materialui.components.button.enums.ButtonSize import materialui.components.button.enums.ButtonStyle import materialui.components.button.en...
0
null
0
0
11ecec116c93bbc92009630cf144796dddd6f06e
1,449
kotlin-material-ui
MIT License
src/main/kotlin/com/cognifide/gradle/aem/common/instance/satisfy/PackageResolution.kt
mcgill-enterprises
244,752,188
true
{"Kotlin": 523954, "Shell": 5281, "Batchfile": 267}
package com.cognifide.gradle.aem.common.instance.satisfy import com.cognifide.gradle.aem.common.bundle.BundleFile import com.cognifide.gradle.aem.common.pkg.PackageException import com.cognifide.gradle.common.file.resolver.FileResolution import java.io.File class PackageResolution(group: PackageGroup, id: String, act...
0
null
0
0
a9201d1983acd449b59590f6129cf27ba8712e38
1,623
gradle-aem-plugin
Apache License 2.0
src/main/kotlin/io/github/aedans/m/Macro.kt
aedans
97,937,664
false
null
package io.github.aedans.m import io.github.aedans.kons.Nil /** * Created by Aedan Smith. */ class Macro(function: (Any) -> Any) : (Expression) -> Expression by function { override fun toString() = "m.Macro" } fun Iterator<Expression>.expandMacros(env: RuntimeEnvironment) = asSequence() .map { it.expa...
0
Kotlin
0
3
d9fe71cbb935c483617cd10e594647319fbc1750
858
M-old
MIT License
kirinmaru-android/src/main/java/stream/reconfig/kirinmaru/android/util/prefs/primitive/StringSetPref.kt
dutn158
140,231,944
true
{"HTML": 615621, "Kotlin": 152386, "Java": 19407}
package stream.reconfig.kirinmaru.android.util.prefs.primitive import android.content.SharedPreferences import stream.reconfig.kirinmaru.android.util.prefs.PrefModel /** * */ open class StringSetPref( key: String, default: Set<String>, prefs: SharedPreferences ) : PrefModel<Set<String>>( key = key, ...
0
HTML
0
0
a32917ca1e8241ebfbf8e8a35b674c1832df00a6
469
Kirinmaru
Apache License 2.0
core/core-form/src/main/java/qsos/core/form/view/fragment/AbsFormFragment.kt
hslooooooool
205,824,032
false
null
package qsos.core.form.view.fragment import io.reactivex.disposables.CompositeDisposable import io.reactivex.disposables.Disposable import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Job import kotlinx.coroutines.cancel import qsos.core.lib.base.IDisposable import qsos.lib.base.base.fragment.BaseFragment ...
0
Kotlin
1
4
0ff2d8ab0ec98a0618759ce2d052729340f67541
838
abcl-c
Apache License 2.0
app/src/main/java/co/ghostnotes/sample/splash/ui/tutorial/TutorialViewModel.kt
ghostnotes
152,605,998
false
null
package co.ghostnotes.sample.splash.ui.tutorial import android.arch.lifecycle.ViewModel class TutorialViewModel : ViewModel() { // TODO: Implement the ViewModel }
0
Kotlin
0
0
44346838b61b7ea00e8d2b52264feedec3d79ff4
169
android-splash-sample
Apache License 2.0
src/main/kotlin/anissia/domain/account/controller/AccountController.kt
anissia-net
319,510,882
false
{"Kotlin": 248254, "HTML": 5480, "HCL": 794}
package anissia.domain.account.controller import anissia.domain.account.model.* import anissia.domain.account.service.* import anissia.infrastructure.common.As import org.springframework.web.bind.annotation.* import org.springframework.web.server.ServerWebExchange @RestController @RequestMapping("/account") class Ac...
3
Kotlin
4
13
7266b0843f631ef0d4b154802cf83e42a2309a99
1,413
anissia-core
Creative Commons Attribution 4.0 International
src/main/kotlin/com/IceCreamQAQ/Yu/job/CronInvoker.kt
xiaomaomogu
279,873,935
true
{"Kotlin": 92782, "Java": 55385}
package com.IceCreamQAQ.Yu.job import java.lang.reflect.Method interface CronInvoker { fun invoker() } class ReflectCronInvoker(val instance:Any,val method:Method):CronInvoker { override fun invoker() { method.invoke(instance) } }
0
null
0
0
b9c585432098c26528509942449ac8006d0bc6a6
254
Yu-Core
Apache License 2.0
app/src/main/java/me/vponomarenko/modular/navigation/MainActivity.kt
ValeryPonomarenko
168,387,724
false
null
package me.vponomarenko.modular.navigation import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.navigation.findNavController import me.vponomarenko.injectionmanager.x.XInjectionManager class MainActivity : AppCompatActivity() { private val navigator: Navigator by lazy { ...
0
Kotlin
14
81
b5b9b0fc9185292b79218749fa0fb874a574ed40
850
modular-navigation
MIT License
jvm/src/test/kotlin/org/amshove/kluent/tests/collections/BackticksEquivalency.kt
timo-a
382,853,021
true
{"Kotlin": 479070, "PowerShell": 601, "Shell": 310}
package org.amshove.kluent.tests.collections import org.amshove.kluent.`should be equivalent to` import org.amshove.kluent.tests.equivalency.ShouldBeEquivalentTo import org.junit.Test import java.time.LocalDate @ExperimentalStdlibApi class BackticksEquivalency { @Test fun `pass should be equivalent to withStr...
0
null
0
0
f72ed929ad6699925ab31e51fd4e8e9e3f7b3813
2,767
Kluent
MIT License
ktx-prefs-annotations/src/main/java/co/windly/ktxprefs/annotation/DefaultInt.kt
tommus
169,000,678
false
null
package co.windly.ktxprefs.annotation /** * Indicates a wrapper methods for given Int preference should be generated. * <p> * One can configure what default value will be used in case if given property was * not set previously, */ @Target(AnnotationTarget.FIELD) annotation class DefaultInt( /** * The defaul...
1
null
3
9
d900649e3e1383cbf2f9619d5a7ea2fdbbf0bba8
435
ktx-prefs
Apache License 2.0
mockk/src/main/kotlin/io/mockk/impl/VerifierImpl.kt
raosuj
113,252,883
true
{"Kotlin": 219752, "Java": 47524, "HTML": 2876, "CSS": 348, "Shell": 303}
package io.mockk.impl import io.mockk.MockKGateway.* import io.mockk.MockKVerificationScope import io.mockk.slot internal class VerifierImpl(callRecorder: () -> CallRecorder, val stubRepo: StubRepository) : CommonRecorder(callRecorder), Verifier { override fun verify(params: Verificat...
0
Kotlin
0
0
2d46ac176678f2fa24be2389396646b43e4e3dc0
789
mockk
Apache License 2.0
mintlin-minecraft/src/commonMain/kotlin/mintlin/minecraft/server/server/MojangAPI.kt
Bruce0203
733,929,372
false
{"Kotlin": 566170}
package mintlin.minecraft.server.server import mintlin.format.json.Json import mintlin.lang.fastCastTo import mintlin.minecraft.packet.LoginSuccess import mintlin.serializer.UUID import java.util.concurrent.Executor import java.util.concurrent.Executors class HttpRequestThreadPool : Executor by Executors.newSingleThr...
1
Kotlin
0
8
32e28dd71b7357b74cb68fa9aa262b82da0441e2
2,156
Mintlin
The Unlicense
app/src/main/kotlin/id/shaderboi/cata/feature_todo/domain/use_case/UpdateToDoUseCase.kt
andraantariksa
469,414,092
false
{"Kotlin": 153735}
package id.shaderboi.cata.feature_todo.domain.use_case import id.shaderboi.cata.feature_todo.domain.model.ToDo import id.shaderboi.cata.feature_todo.domain.repository.ToDoRepository class UpdateToDoUseCase( private val repository: ToDoRepository ) { suspend operator fun invoke( toDo: ToDo ) = repo...
0
Kotlin
0
0
ff0bee262ea0ce86596a73c8ccaf8b898698806f
345
cata
MIT License
ksol-cli/src/main/kotlin/com/dgsd/ksol/cli/keygen/GenerateKeyPairCommand.kt
dlgrech
524,875,633
false
null
package com.dgsd.ksol.cli.keygen import com.dgsd.ksol.keygen.KeyFactory import com.github.ajalt.clikt.core.CliktCommand import com.github.ajalt.clikt.parameters.options.default import com.github.ajalt.clikt.parameters.options.option import com.github.ajalt.clikt.parameters.types.int import kotlinx.coroutines.runBlocki...
0
Kotlin
2
9
153e922fa405d6ba6c33041002bcf53d6293c7cf
881
ksol
Apache License 2.0
console/src/jsMain/kotlin/lexi/external/BrowserConsole.kt
aSoft-Ltd
592,348,487
false
{"Kotlin": 43552}
package lexi.external external interface BrowserConsole { fun debug(vararg o: Any?) fun trace(vararg o: Any?) fun info(vararg o: Any?) fun warn(vararg o: Any?) fun error(vararg o: Any?) }
0
Kotlin
0
0
9e3d01a5ba4ba05a154094ba91a4570992b51ea1
208
lexi
MIT License
app/src/test/java/com/github/oheger/wificontrol/svcui/ServiceDetailsViewModelTest.kt
oheger
646,529,710
false
{"Kotlin": 277864}
/* * Copyright 2023-2024 <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
0
Kotlin
0
0
76e9cf20460a5092843945d0f56c03f00b27e708
2,435
WifiControl
Apache License 2.0
app/src/main/java/com/example/housemaster/AppointmentSuccessFragment.kt
PubuduGunasekara
704,944,238
false
{"Kotlin": 195506, "Java": 347}
package com.example.housemaster import android.os.Bundle import android.view.View import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.Fragment import androidx.navigation.fragment.findNavController import com.example.housemaster.databinding.FragmentAppointmentPayBinding import com.example.house...
0
Kotlin
0
0
cefcaca13c038be96f6fad0195c48d8885648936
1,581
HouseMaster
MIT License
android/app/src/main/kotlin/com/example/mastergo/MainActivity.kt
feMoraes0
309,168,735
false
{"Dart": 11955, "Swift": 404, "Kotlin": 125, "Objective-C": 38}
package com.example.mastergo import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
205051dc8e821b2686f91643dc88d2ab0f139357
125
master-go-ui
MIT License
app/src/main/java/com/example/prolificinteractive/digitallibrary/dependencies/ApiModule.kt
jgsamudio
154,833,432
false
null
package com.example.prolificinteractive.digitallibrary.dependencies import com.example.prolificinteractive.digitallibrary.api.LibraryApiServiceProvider import dagger.Module import dagger.Provides import javax.inject.Singleton @Module class ApiModule { @Provides @Singleton fun provideBooksRepository(): Li...
0
Kotlin
0
0
6e52e334b1766f5446a3d7406862e8c336a41ce7
375
DigitalLibrary
MIT License
wallet-sdk/src/test/java/io/arcblock/walletkit/utils/NumberUtilsTest.kt
ArcBlock
470,418,674
false
null
package io.arcblock.walletkit.utils import org.junit.Assert import org.junit.Test import java.math.BigDecimal class NumberUtilsTest { @Test fun testTokenNumberDisplay() { /** * token 展示测试用例 * 规则: * 1. 保留 Min(decimals, 6) 位小数,直接截断,不做四舍五入 * 2. 末位的 0 做截取 */ Assert.assertEquals("0", ...
3
Kotlin
0
0
032105bd4ed9bbe4b484a3458eca67a875139f6f
3,416
did-wallet-sdk-android
Apache License 2.0
client_end_user/shared/src/commonMain/kotlin/presentation/map/LatLong.kt
SantiagoFlynnUTN
770,562,894
false
{"Kotlin": 2180342, "Swift": 3954, "HTML": 3900, "Ruby": 2543, "Dockerfile": 1994, "Shell": 912}
package presentation.map import kotlinx.serialization.Serializable @Serializable data class LatLong(val latitude: Double = 0.0, val longitude: Double = 0.0)
0
Kotlin
0
0
ff70c0c2ed16084f0867be5e391ee3749aa053b7
159
AngusBrotherKMP
Apache License 2.0
app/src/main/java/com/amagen/supercheap/recycleview/SingleProductRecycleView.kt
MagenL
455,111,166
false
{"Kotlin": 135319, "Python": 8826, "CSS": 828, "HTML": 429}
package com.amagen.supercheap.recycleview import android.content.Context import android.content.res.Resources import android.view.LayoutInflater import android.view.ViewGroup import androidx.compose.ui.res.stringResource import androidx.recyclerview.widget.RecyclerView import com.amagen.supercheap.R import com.amagen....
0
Kotlin
0
1
c0a567634f29e58220cc9e13b6425db1fef5cfce
1,953
SuperCheap
MIT License
solar/src/main/java/com/chiksmedina/solar/broken/videoaudiosound/Play.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.broken.videoaudiosound import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Round import androidx.compose.ui.graphics.StrokeJoin.C...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
1,794
SolarIconSetAndroid
MIT License
projects/android/eyeonit/src/main/java/io/eyeonit/eyeonit/Home.kt
isabella232
450,082,024
true
{"HTML": 5727164, "JavaScript": 39008, "CSS": 34142, "Kotlin": 29656}
package io.eyeonit.eyeonit import android.util.Log import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.padding import androidx.compose.material.* import androidx.compose.material.icons.Icons import androidx.compose.material.icons.outlined.Visibility import androidx.compose.runtime.C...
1
null
0
0
72fc0dbc65df2ae3db4ab4b5c10b87949be3cf32
2,050
declaredaccess
MIT License
unofficial-hypixel-api/src/main/kotlin/de/planetbuilder/unofficialhypixelapi/data/playerrelateddata/guild/GuildResponseDataGuildRank.kt
PlanetBuilder
429,193,558
false
null
package de.planetbuilder.unofficialhypixelapi.data.playerrelateddata.guild import kotlinx.serialization.Serializable @Serializable data class GuildResponseDataGuildRank( val name: String, val default: Boolean = false, val priority: Int, val created: Long )
0
Kotlin
0
0
d1a58cde4ab3efe56af28d2f855b7c37f1862202
274
hypixel-api
MIT License
src/main/kotlin/net/testusuke/open/man10mail/DataBase/DataBase.kt
testusuke
276,925,455
false
null
package net.testusuke.open.man10mail.DataBase import net.testusuke.open.man10mail.Main.Companion.plugin import org.bukkit.scheduler.BukkitRunnable import java.sql.Connection import java.sql.DriverManager import java.sql.ResultSet import java.sql.SQLException /** * Created by testusuke on 2020/07/04 * @author testus...
1
Kotlin
1
1
7107e1939acd6bfec1f1655f9017f53f1d5aa81d
2,942
Man10Mail
Apache License 2.0
app/src/main/java/com/example/weatherapp/model/responses/OneCallResponse.kt
kamil-matula
350,345,105
false
null
package com.example.weatherapp.model.responses import com.example.weatherapp.model.SpecificDayForecast import com.example.weatherapp.model.SpecificHourForecast data class OneCallResponse( val lat : Double, val lon : Double, val hourly : List<SpecificHourForecast>, val daily : List<SpecificDayForecast>...
0
Kotlin
0
0
ac3c1dc63231e589d316357232df05cf4a265bb2
323
WeatherApp
MIT License
build-logic/metrics/src/main/kotlin/com/vk/id/health/metrics/VKIDHeathMetricsStep.kt
VKCOM
696,297,549
false
{"Kotlin": 800967, "Shell": 14785, "AIDL": 3429, "JavaScript": 1182}
package com.vk.id.health.metrics import org.gradle.api.Task public interface VKIDHeathMetricsStep { public val isExternal: Boolean public val task: Task public fun getDiff(): String public val properties: Array<String> }
1
Kotlin
1
23
9a3ee0cc0243874354793c7dcb7d58d6aa5b10bc
239
vkid-android-sdk
MIT License
backend/src/main/kotlin/de/nlange/routemanager/data/strava/StravaProperties.kt
enorm
544,449,929
false
null
package de.nlange.routemanager.data.strava import org.springframework.boot.context.properties.ConfigurationProperties import org.springframework.context.annotation.Configuration @Configuration @ConfigurationProperties(prefix = "strava") class StravaProperties { lateinit var clientId: String lateinit var clien...
0
Kotlin
0
0
78e6beef1ced9bf3828e05140c67f6e141b901db
338
route-manager
Apache License 2.0
core/src/main/java/com/github/corentinc/core/ad/AdDefaultSorter.kt
corentin-c
235,539,306
false
null
package com.github.corentinc.core.ad class AdDefaultSorter: Comparator<Ad> { override fun compare(o1: Ad?, o2: Ad?): Int { return compareByDescending<Ad> { it.publicationDate }.thenBy { it.title }.compare(o1, o2) } }
0
Kotlin
0
1
47ec5cbe754c9cae371546e08d74b43b20644cb0
233
notificoin
Apache License 2.0
src/main/kotlin/io/usoamic/validateutilkt/error/EmptyAddressError.kt
usoamic
260,280,238
false
{"Kotlin": 10654}
package io.usoamic.validateutilkt.error class EmptyAddressError : ValidateUtilError()
0
Kotlin
0
0
74e212822de4a8a45131add9798497f1031f4907
86
validateutilkt
MIT License
core-ui/src/main/kotlin/core/playground/ui/binding/ViewBindingAdapters.kt
shawnthye
420,680,965
false
{"Kotlin": 416438}
package core.playground.ui.binding import android.annotation.SuppressLint import android.graphics.Outline import android.graphics.Rect import android.os.Build import android.util.DisplayMetrics import android.view.GestureDetector import android.view.HapticFeedbackConstants import android.view.MotionEvent import androi...
0
Kotlin
0
0
15df4f3acc202e88f2de0e62549e6e5386440c9e
5,589
playground
MIT License
app/src/main/java/com/application/moviesapp/data/local/dao/MovieDownloadDao.kt
sheikh-20
676,842,394
false
{"Kotlin": 707578, "Python": 2213}
package com.application.moviesapp.data.local.dao import androidx.room.Dao import androidx.room.Delete import androidx.room.Insert import androidx.room.Query import com.application.moviesapp.data.local.entity.MovieDownloadEntity import kotlinx.coroutines.flow.Flow @Dao interface MovieDownloadDao { @Query("SELECT *...
0
Kotlin
1
7
7ac9a7d2c41f9d0acf1f37d5475e5ca321447e3f
635
MoviesApp
MIT License
app/src/main/java/com/example/xlisten/subpage/Artist.kt
Sayaka-4987
509,675,873
false
{"Kotlin": 78045}
package com.example.xlisten.subpage import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.LazyRow import androidx.compose.foundation.lazy.items imp...
1
Kotlin
0
1
e8b426d1bd85e5752bfd1e3ec6960a13c9ee3433
7,458
XListen
MIT License
src/main/kotlin/io/github/trainb0y/fabrizoom/config/Presets.kt
trainb0y
503,177,753
false
{"Kotlin": 25851, "Java": 7305}
package io.github.trainb0y.fabrizoom.config /** * Presets of [ConfigurableValues] */ enum class Presets( /** Translation key for the name of this preset */ val key: String, /** The values of this preset */ val values: ConfigurableValues? ) { /** * Default configuration preset * @see ConfigHandler.applyDefau...
2
Kotlin
4
14
b0a880f084a59ca0c9dd5114f7ffc0b5b12cbd89
1,701
FabriZoom
MIT License
.teamcity/configurations/pluginBsp/intellijBenchmark.kts
JetBrains
826,262,028
false
{"Kotlin": 2207852, "Java": 460037, "Starlark": 301920, "Scala": 36560, "Python": 34754, "Lex": 10489, "Shell": 2584, "HTML": 1310, "Rust": 680, "C++": 100}
package configurations.pluginBsp import configurations.BaseConfiguration import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.bazel import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.script import jetbrains.buildServer.configs.kotlin.v2019_2.vcs.GitVcsRoot open class Benchmark(vcsRoot: GitVcsRoo...
1
Kotlin
6
13
1227a5f7aae8d872687cbb9fdfe4284c9a76ff7f
1,752
hirschgarten
Apache License 2.0
app/src/main/java/org/azurestar/kotlinisfun/triviaapp/ui/screens/Screens.kt
AzureStar123
504,059,314
false
null
package org.azurestar.kotlinisfun.triviaapp.ui.screens enum class Screens { HomeScreen, QuizScreen, ResultScreen }
0
Kotlin
0
0
740bdee5f35dd6121bf22bc225a365840b86b3f3
120
TriviaApp
MIT License
app/src/main/java/com/np/dagger2/practice/practical_7/di/CompanyModule.kt
nirajphutane
789,270,033
false
{"Kotlin": 56715}
package com.np.dagger2.practice.practical_7.di import com.np.dagger2.practice.practical_7.external_lib.Company import dagger.Module import dagger.Provides import javax.inject.Singleton @Module class CompanyModule { companion object { @JvmStatic @Singleton @Provides fun provideComp...
0
Kotlin
0
0
a2efc5dcf5a957623d8569d7287842b9932a09dc
345
Android-Dagger2
MIT License
src/main/kotlin/BoardState.kt
hexcheckers
511,301,710
false
{"Kotlin": 117690}
package com.hexcheckers.engine class BoardState { var menCountA = 0 var menCountB = 0 var kingCountA = 0 var kingCountB = 0 var captureMovesCountA = 0 var captureMovesCountB = 0 fun incPiecesValue(piece: Piece) { if (piece.isKing) { incKing(piece.color) } else {...
0
Kotlin
0
2
3453cddc2e8964593cd8d1b05ba7c34b987de28d
1,290
engine
MIT License
ui/runtime/sources/com/meowbase/ui/widget/implement/SafeArea.kt
siylt007
336,180,880
true
{"Kotlin": 1405824, "Java": 474434, "Dart": 14190, "HTML": 70}
@file:Suppress("FunctionName") package com.meowbase.ui.widget.implement import android.content.Context import android.util.AttributeSet import com.meowbase.ui.UiKitMarker import com.meowbase.ui.widget.modifier.safeArea /* * author: 凛 * date: 2020/9/29 上午4:19 * github: https://github.com/RinOrz * description: 类...
0
null
0
0
df82f0588beb13fbd22308b3d015852c25781612
853
toolkit
Apache License 2.0
math-hammer-40k/src/main/kotlin/io/hsar/mathhammer/model/AttackGroup.kt
HSAR
382,069,316
false
null
package io.hsar.mathhammer.model data class AttackGroup(val modelName: String, val pointsCost: Int, val attackProfiles: Set<AttackProfile>)
0
Kotlin
0
0
6a51110c3158a61a0c5874a68214b0f51f566be2
140
MathHammer
Apache License 2.0
frontend/compose-app/ui/home/src/main/kotlin/cc/snakechat/ui/home/TopBar.kt
Kshitij09
815,484,478
false
{"Kotlin": 193333, "Go": 57157}
package cc.snakechat.ui.home import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.RowScope import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.window...
0
Kotlin
0
1
c2049b7ca67f1360c3b0cd492a51fe0d9e78c8f0
3,594
snakechat
Apache License 2.0
src/main/kotlin/dev/sublab/scale/dataContainers/ScaleHexDataContainer.kt
sublabdev
535,539,309
false
{"Kotlin": 124289}
/** * * Copyright 2023 SUBSTRATE LABORATORY LLC <<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 appl...
0
Kotlin
1
3
f653a2189a0c4830450a8bb2da8dcd7a028a40b2
1,145
scale-codec-kotlin
Apache License 2.0