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
subprojects/android-test/ui-testing-core/src/main/kotlin/com/avito/android/test/espresso/action/ActionOnLongClickableElement.kt
avito-tech
230,265,582
false
null
package com.avito.android.test.espresso.action import android.view.View import androidx.test.espresso.UiController import androidx.test.espresso.ViewAction import com.avito.android.test.matcher.CanBeLongClickedMatcher import org.hamcrest.Matcher import org.hamcrest.Matchers public class ActionOnLongClickableElement( ...
10
null
50
414
bc94abf5cbac32ac249a653457644a83b4b715bb
722
avito-android
MIT License
app/src/main/java/com/personal/tmdb/detail/data/models/CombinedCredits.kt
Avvami
755,489,313
false
{"Kotlin": 656155}
package com.personal.tmdb.detail.data.models import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class CombinedCredits( @Json(name = "cast") val cast: List<CombinedCastCrew>?, @Json(name = "crew") val crew: List<CombinedCastCrew>? )
0
Kotlin
0
2
d5b4d2ee9eb9616ab0e217f8d6fff45723bf5e58
306
TMDB
MIT License
spring/src/test/kotlin/tw/waterballsa/gaas/spring/it/AbstractSpringBootTest.kt
Game-as-a-Service
623,554,204
false
null
package tw.waterballsa.gaas.spring.it import com.fasterxml.jackson.core.type.TypeReference import com.fasterxml.jackson.databind.ObjectMapper import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc import org.springframework.boot...
27
Kotlin
5
22
b117145d1841ee3ade37993c52ff8bec908b2338
1,049
Lobby-Platform-Service
Apache License 2.0
ddd/src/main/kotlin/net/rikarin/multitenancy/CurrentTenantAccessor.kt
Rikarin
586,107,122
false
null
package net.rikarin.multitenancy interface CurrentTenantAccessor { var current: TenantInfo? }
0
Kotlin
0
0
ae49fd70b3a46c5e74e161758f6e7eeaed08ed88
99
kotlin
MIT License
packages/expo-battery/android/src/main/java/expo/modules/battery/BatteryModule.kt
betomoedano
462,599,485
false
null
package expo.modules.battery import android.content.Context import android.content.Intent import android.content.IntentFilter import android.os.BatteryManager import android.os.Build import android.os.PowerManager import org.unimodules.core.ExportedModule import org.unimodules.core.ModuleRegistry import org.unimodules...
627
null
4443
4
52d6405570a39a87149648d045d91098374f4423
3,531
expo
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/ListDropdown.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter i...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
2,534
icons
MIT License
src/domain/shelter/src/main/kotlin/yapp.be.domain/port/inbound/shelter/GetShelterUseCase.kt
YAPP-Github
634,126,325
false
null
package yapp.be.domain.port.inbound.shelter import yapp.be.domain.model.Shelter import yapp.be.domain.model.ShelterOutLink import yapp.be.domain.model.dto.ShelterDto interface GetShelterUseCase { fun getShelterById(shelterId: Long): Shelter fun getNonMemberShelterInfoById(shelterId: Long): ShelterDto fun...
5
Kotlin
1
5
4b7cba48a16e0ec305ddea49d278c99200cce11c
486
DangleDangle-server
Apache License 2.0
arsceneview/src/main/java/io/github/sceneview/ar/node/ArNode.kt
rbf1222
671,468,043
false
null
package io.github.sceneview.ar.node import com.google.ar.core.* import com.google.ar.core.Anchor.CloudAnchorState import com.google.ar.core.Config.PlaneFindingMode import com.google.ar.sceneform.math.Vector3 import dev.romainguy.kotlin.math.* import io.github.sceneview.* import io.github.sceneview.ar.ArSceneLifecycle ...
1
null
1
1
d537fea9a47bff39f79b93fadc20cafb321d65fd
20,367
sceneview-android
Apache License 2.0
app/src/test/java/com/blackcrowsys/ui/splash/SplashActivityViewModelTest.kt
blackcrowsys
116,029,789
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Proguard": 1, "JSON": 2, "Kotlin": 80, "XML": 29, "Java": 1}
package com.blackcrowsys.ui.splash import android.arch.lifecycle.Observer import com.blackcrowsys.R import com.blackcrowsys.exceptions.ErrorMapper import com.blackcrowsys.exceptions.ExceptionTransformer import com.blackcrowsys.util.SchedulerProvider import com.blackcrowsys.util.SharedPreferencesHandler import com.blac...
1
Kotlin
0
1
0610d1474ea83b7b16e9811111e6946ea983d32c
2,668
dinewell-carehome-app
MIT License
libnavigation-core/src/test/java/com/mapbox/navigation/core/trip/session/TripSessionLocationEngineTest.kt
mapbox
87,455,763
false
{"Kotlin": 8885438, "Makefile": 8762, "Python": 7925, "Java": 4624}
package com.mapbox.navigation.core.trip.session import android.os.Looper import com.mapbox.bindgen.ExpectedFactory import com.mapbox.common.Cancelable import com.mapbox.common.location.DeviceLocationProvider import com.mapbox.common.location.DeviceLocationProviderFactory import com.mapbox.common.location.Location impo...
508
Kotlin
318
621
88163ae3d7e34948369d6945d5b78a72bdd68d7c
15,173
mapbox-navigation-android
Apache License 2.0
common/common-ui/src/main/java/com/duckduckgo/common/ui/view/divider/VerticalDivider.kt
duckduckgo
78,869,127
false
{"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784}
/* * 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 ...
67
Kotlin
901
3,823
6415f0f087a11a51c0a0f15faad5cce9c790417c
1,798
Android
Apache License 2.0
xesar-connect/src/test/kotlin/com/open200/xesar/connect/testutils/IdentificationMediumFixture.kt
open200
684,928,079
false
{"Kotlin": 438614}
package com.open200.xesar.connect.testutils import com.open200.xesar.connect.messages.DisengagePeriod import com.open200.xesar.connect.messages.query.IdentificationMedium import java.time.LocalDateTime import java.util.* object IdentificationMediumFixture { val identificationMediumFixture = Identificatio...
18
Kotlin
0
9
b23bc36a644f1bf5b94de0324e774365d9cbfa91
2,224
xesar-connect
Apache License 2.0
core/model/src/main/java/com/whakaara/model/stopwatch/Lap.kt
ahudson20
531,856,934
false
{"Kotlin": 536307}
package com.whakaara.model.stopwatch data class Lap( val time: Long, val diff: Long )
1
Kotlin
3
30
f63a8f59815bec094a6d0c19d0368a87a2b87923
95
whakaara
MIT License
api-server/src/main/kotlin/com/companimal/member/domain/exception/CannotUseSamePasswordException.kt
roseoutz
609,769,119
false
null
package com.companimal.member.domain.exception import com.companimal.common.domain.exception.CompanimalException import com.companimal.member.domain.constants.MemberErrorCode class CannotUseSamePasswordException: CompanimalException(errorCode = MemberErrorCode.SAME_PASSWORD) { }
0
Kotlin
0
0
e065faa6eedfc95d724cc00dfad3f7ae3488d241
281
companimal
MIT License
tests/application/src/androidTest/java/dev/enro/test/application/fragment/UnboundBottomSheetTestWithEnroRule.kt
isaac-udy
256,179,010
false
{"Kotlin": 1447007}
package dev.enro.test.application.fragment import androidx.compose.ui.test.ComposeTimeoutException import androidx.compose.ui.test.junit4.createAndroidComposeRule import dev.enro.test.EnroTestRule import dev.enro.tests.application.TestActivity import dev.enro.tests.application.fragment.UnboundBottomSheetFragment impor...
1
Kotlin
13
246
fab4af27fd1d0c066f1ad99ded202e1c6b16c575
1,717
Enro
Apache License 2.0
app/src/main/java/com/istu/schedule/domain/usecase/schedule/GetClassroomsListUseCase.kt
imysko
498,018,609
false
{"Kotlin": 862247}
package com.istu.schedule.domain.usecase.schedule import com.istu.schedule.domain.entities.schedule.Classroom import com.istu.schedule.domain.repository.schedule.ClassroomsRepository import javax.inject.Inject interface GetClassroomsListUseCase { suspend operator fun invoke(): Result<List<Classroom>> } class Ge...
1
Kotlin
1
2
36ff18c29364921c0eb9b09af090b434fca2a36e
580
Schedule-ISTU
MIT License
src/main/kotlin/me/fzzyhmstrs/fzzy_core/modifier_util/SlotId.kt
fzzyhmstrs
591,771,816
false
{"Kotlin": 205455, "Java": 14440}
package me.fzzyhmstrs.fzzy_core.modifier_util import net.minecraft.entity.EquipmentSlot import java.util.* open class SlotId(private val id: String) { fun getUUID(prefix: String): UUID{ return UUID.nameUUIDFromBytes("$prefix@$id".toByteArray()) } override fun hashCode(): Int { return id....
0
Kotlin
1
0
9b6ca751fb26d65b3153a86059955c3fbc15dc01
1,312
fc
MIT License
app/src/main/java/com/webaddicted/newhiltproject/view/dashboard/L3MRetailersFragment.kt
webaddicted
434,853,888
false
{"Kotlin": 403122, "Java": 83}
package com.webaddicted.newhiltproject.view.dashboard import android.os.Bundle import android.view.View import androidx.databinding.ViewDataBinding import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.recyclerview.widget.LinearLayoutManager import com.webaddicted.newhiltproject...
0
Kotlin
0
1
3dcf906deec23c672cfb3a1212411395fa319edf
3,505
HiltDemo
Apache License 2.0
src/controller/java/generated/java/chip/devicecontroller/cluster/structs/PowerSourceClusterWiredFaultChangeType.kt
project-chip
244,694,174
false
null
/* * * Copyright (c) 2023 Project CHIP Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
1,120
C++
1588
6,261
693b30264d3a91c663218ff04d2a83846ca247c5
2,474
connectedhomeip
Apache License 2.0
tongs-plugin-android/src/main/java/com/github/tarcv/tongs/runner/listeners/RawLogCatWriter.kt
engeniousio
262,129,936
false
null
/* * Copyright 2020 TarCV * Copyright 2014 Shazam Entertainment Limited * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. * * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
1
HTML
2
3
da5ee89d7509f66fe58468eb30e03dd05a1b89c9
1,593
sift-android
Apache License 2.0
app/src/main/kotlin/no/nav/paw/kafkakeygenerator/api/v1/Response.kt
navikt
708,718,823
false
{"Kotlin": 35163}
package no.nav.paw.kafkakeygenerator.api.v1 data class Response(val id: Long)
0
Kotlin
0
1
89fa6709b888c6009da6b6bb0d2c6b8fa8df7208
78
paw-kafka-key-generator
MIT License
composablesweettoast/src/main/java/com/talhafaki/composablesweettoast/util/SweetToastProperty.kt
tfaki
431,441,275
false
{"Kotlin": 18743}
package com.talhafaki.composablesweettoast.util import androidx.compose.ui.graphics.Color interface SweetToastProperty { fun getResourceId(): Int fun getBackgroundColor(): Color }
3
Kotlin
5
83
4d5cd0a94fafe633ce8331f8f6c888b3bb249723
190
ComposableSweetToast
MIT License
app/src/main/java/com/example/intelligent_shopping_cart/ui/screens/home/RotationChartItem.kt
cxp-13
629,093,945
false
null
package com.example.intelligent_shopping_cart.ui.screens.home import androidx.compose.foundation.layout.* import androidx.compose.material3.Card import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import a...
0
Kotlin
0
0
6a003112f1b1b1f67e191cf5ed59d3942afc1d25
1,195
Intelligent-Shopping-Cart-APP
Apache License 2.0
ziti/src/main/kotlin/org/openziti/ZitiAddress.kt
openziti
214,175,575
false
null
/* * Copyright (c) 2018-2021 NetFoundry Inc. * * 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...
9
null
4
9
4f561799f9d47e209e802ad46e23b308131b949c
1,510
ziti-sdk-jvm
Apache License 2.0
client/android-kotlin/app/src/main/java/com/example/app/CardBrandChoiceActivity.kt
stripe-samples
270,634,286
false
null
package com.example.app import android.os.Bundle import android.view.View import android.widget.AdapterView import android.widget.ArrayAdapter import androidx.appcompat.app.AppCompatActivity import com.example.app.databinding.CardActivityBinding import com.stripe.android.ApiResultCallback import com.stripe.android.Pay...
19
Kotlin
7
6
654e6c4c356886fad42008efa9cb7a491ff46801
6,464
card-brand-choice
MIT License
app/src/main/java/prieto/fernando/spacex/ui/LaunchesFragment.kt
ferPrieto
226,459,777
false
null
package prieto.fernando.spacex.ui import android.animation.Animator import android.app.AlertDialog import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.EditText import androidx.appcompat.widget.SwitchComp...
0
Kotlin
34
277
8b9c5e19f4fb9370f15c1d1e0b5a667ee2ad660b
8,990
Coroutines-Flows-Modularised
Apache License 2.0
tmp/arrays/kotlinAndJava/93.kt
mandelshtamd
346,008,310
false
{"Markdown": 122, "Gradle": 762, "Gradle Kotlin DSL": 649, "Java Properties": 23, "Shell": 49, "Ignore List": 20, "Batchfile": 26, "Git Attributes": 8, "Kotlin": 82508, "Protocol Buffer": 12, "Java": 6674, "Proguard": 12, "XML": 1698, "Text": 13298, "INI": 221, "JavaScript": 294, "JAR Manifest": 2, "Roff": 217, "Roff M...
//File MyClass.java import kotlin.Metadata; @Ann( p1 = 128, p2 = 2, p4 = 2, p5 = 2 ) public final class MyClass { } //File Main.kt // IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME fun box(): String { val annotation = MyClass::class.java.getAnnotation(Ann::class.java)!! if (a...
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
1,044
kotlinWithFuzzer
Apache License 2.0
airbyte-workload-api-server/src/main/kotlin/io/airbyte/workload/server/Application.kt
airbytehq
592,970,656
false
null
package io.airbyte.workload.server import io.micronaut.runtime.Micronaut.run import io.swagger.v3.oas.annotations.OpenAPIDefinition import io.swagger.v3.oas.annotations.info.Info import io.swagger.v3.oas.annotations.servers.Server @OpenAPIDefinition( info = Info( title = "WorkloadApi", description =...
54
null
249
205
a2e58f1b60ea79ec96546c98f712077c82de373a
558
airbyte-platform
MIT License
base/src/test/kotlin/proguard/classfile/util/ClassPoolClassLoaderTest.kt
Guardsquare
263,266,232
false
null
package proguard.classfile.util import io.kotest.assertions.throwables.shouldThrow import io.kotest.core.spec.style.FreeSpec import io.kotest.matchers.shouldBe import proguard.classfile.ClassPool import proguard.testutils.ClassPoolBuilder import proguard.testutils.JavaSource class ClassPoolClassLoaderTest : FreeSpec(...
8
null
61
279
158061999ebd35ffa8e79a55cd38c06d0aeb10d7
1,604
proguard-core
Apache License 2.0
app/src/main/java/com/redvelvet/trivia_game/ui/composable/NoInternetCard.kt
RedVelvet-Team
661,473,736
false
null
package com.redvelvet.trivia_game.ui.composable import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxHeight import androidx.compose.foundation.layout.padding import androidx....
0
Kotlin
0
3
b1cf6e438b78f490b7b8d4b87fb37260840459f9
2,546
Trivia-Game
Apache License 2.0
SpinCalendarField/src/main/kotlin/example/App.kt
aterai
158,348,575
false
null
package example import java.awt.* import java.text.SimpleDateFormat import java.util.Calendar import java.util.Locale import javax.swing.* import javax.swing.JSpinner.DefaultEditor import javax.swing.text.DateFormatter import javax.swing.text.DefaultFormatterFactory fun makeUI(): Component { val c = Calendar.getIns...
0
null
6
9
47a0c684f64c3db2c8b631b2c20c6c7f9205bcab
2,224
kotlin-swing-tips
MIT License
firestore/app/src/main/java/com/google/firebase/example/fireeats/kotlin/RestaurantDetailFragment.kt
firebase
57,147,349
false
null
package com.google.firebase.example.fireeats import android.content.Context import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.view.inputmethod.InputMethodManager import androidx.fragment.app.Fragment import androidx....
68
null
7450
8,858
4d1e253dd1dd8052310e889fc1785084b1997aca
8,214
quickstart-android
Apache License 2.0
view/view-api/src/main/kotlin/query/data/DataEntriesForUserQuery.kt
holunda-io
135,994,693
false
null
package io.holunda.polyflow.view.query.data import io.holunda.polyflow.view.DataEntry import io.holunda.polyflow.view.auth.User import io.holunda.polyflow.view.query.FilterQuery import io.holunda.polyflow.view.query.PageableSortableQuery /** * Queries data entries for provided user. * @param user user authorized to...
29
null
25
64
f789322e29f7012fe0a59809bcf8d7777e609849
1,000
camunda-bpm-taskpool
Apache License 2.0
defitrack-protocols/kyberswap/src/main/java/io/defitrack/protocol/kyberswap/graph/domain/PairDayData.kt
decentri-fi
426,174,152
false
null
package io.defitrack.protocol.kyberswap.graph.domain import java.math.BigDecimal class PairDayData( val id: String, val dailyVolumeUSD: BigDecimal )
17
Kotlin
6
9
f7c65aa58bec3268101d90fc538c3f8bd0c29093
158
defi-hub
MIT License
src/main/kotlin/org/opentripplanner/trakpi/store/schema/framwork.kt
opentripplanner
208,077,511
false
null
package org.opentripplanner.trakpi.store.schema import org.opentripplanner.trakpi.model.Entity import org.opentripplanner.trakpi.model.NamedClass import org.opentripplanner.trakpi.model.NamedEntity open class DbEntity( /** Id used by the data store and automatically set by data store. */ var _id : String? ) ...
2
Kotlin
2
4
852612750a4fe5748863d8f44525e5cd2a56af8b
1,696
TrakPi
MIT License
app/src/main/java/com/jakubvanko/incloset/presentation/settings/components/CategoryDropdownMenu.kt
jakubvanko
614,302,934
false
null
package com.jakubvanko.incloset.presentation.settings.components import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.material3.* import androidx.compose.runtime.* import androidx.compose.ui.Modifier import com.jakubvanko.incloset.domain.model.Clo...
0
Kotlin
0
0
0a079e868b197e8f20b32da66075e4c70e1cf21a
1,992
incloset
The Unlicense
detekt-rules-style/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/style/CanBeNonNullableSpec.kt
detekt
71,729,669
false
null
package io.gitlab.arturbosch.detekt.rules.style import io.gitlab.arturbosch.detekt.api.Config import io.gitlab.arturbosch.detekt.rules.setupKotlinEnvironment import io.gitlab.arturbosch.detekt.test.compileAndLint import io.gitlab.arturbosch.detekt.test.compileAndLintWithContext import org.assertj.core.api.Assertions.a...
172
null
725
5,274
a3dfea27eedc9239f371beab866abdeb397bdf9b
30,825
detekt
Apache License 2.0
app/src/main/java/com/arturostrowski/quiz/app/data/network/response/GetFriendsResponse.kt
Mesti193
215,134,193
false
{"Gradle": 3, "Java Properties": 2, "Markdown": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 151, "XML": 93, "Java": 1, "JSON": 2}
package com.arturostrowski.quiz.app.data.network.response import com.google.gson.annotations.SerializedName data class GetFriendsResponse ( @SerializedName("Success") var success: Boolean, @SerializedName("Friends") var friends: ArrayList<Friend>?, @SerializedName("FriendRequ...
0
Kotlin
0
0
1c0cef0108b0b90a4074f18b4690e5533214b41c
835
QuizApp
Apache License 2.0
app/src/main/java/de/uriegel/ulauncher/MainActivity.kt
uriegel
226,920,154
false
null
package de.uriegel.ulauncher import android.content.Context import android.content.Intent import android.graphics.Color import android.os.Bundle import android.view.View import android.view.WindowManager import android.widget.EdgeEffect import androidx.appcompat.app.AppCompatActivity import androidx.recyclerview.widge...
0
Kotlin
0
0
b0ae52707b2f1b9ddfb83cf11143806660dc02eb
3,423
ULauncher
MIT License
src/main/kotlin/no/nav/tiltakspenger/skjerming/DefaultObjects.kt
navikt
521,223,519
false
null
package no.nav.tiltakspenger.vedtak import com.fasterxml.jackson.core.util.DefaultIndenter import com.fasterxml.jackson.core.util.DefaultPrettyPrinter import com.fasterxml.jackson.databind.DeserializationFeature import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.databind.SerializationFeatu...
9
null
1
2
d65d38657bdee740931fbf94b527a91d53a6b5c8
3,230
tiltakspenger-vedtak
MIT License
src/main/kotlin/com/github/gradle/node/variant/VariantComputer.kt
node-gradle
160,181,282
false
null
package com.github.gradle.node.variant import com.github.gradle.node.NodeExtension import com.github.gradle.node.util.PlatformHelper import com.github.gradle.node.util.mapIf import com.github.gradle.node.util.zip import org.gradle.api.file.Directory import org.gradle.api.provider.Property import org.gradle.api.provide...
72
null
76
533
f327f5ae4580ea4a76b6526732cacdcbc9f241dd
9,681
gradle-node-plugin
Apache License 2.0
quick/src/main/java/com/hansoolabs/and/view/KeyboardVisibleListener.kt
brownsoo
115,618,961
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 57, "XML": 29, "Java": 2}
package com.hansoolabs.and.view import android.app.Activity import android.graphics.Rect import android.view.View import android.view.ViewTreeObserver import androidx.fragment.app.Fragment /** * Created by brownsoo on 2018-11-11. */ interface OnKeyboardVisibleListener { fun onKeyboardVisible(visible: Boolean) ...
1
null
1
1
b31fd4f6f23d94d7a8ff54178edeee6423c6aeda
2,019
QuickAndComponent
MIT License
mockmp-runtime/src/commonMain/kotlin/org/kodein/mock/MockSuspendFunctions.kt
kosi-libs
426,590,561
false
{"Kotlin": 111002}
package org.kodein.mock public suspend fun <R> mockSuspendFunction0( mocker: Mocker, functionName: String = defaultFunctionName, block: (suspend () -> R)? = null ): suspend () -> R = Anonymous().let { rec -> val f: suspend () -> R = { mocker.registerSuspend(rec, "$functionName()") ...
9
Kotlin
12
160
50e8df40bc8faedce6a9186aa6629dcc04350a3d
13,688
MocKMP
MIT License
shared/src/commonMain/kotlin/com/dino/unsplash/shared/data/PhotoRepository.kt
dinopriyano
511,626,455
false
{"Kotlin": 26902, "Swift": 4996, "Ruby": 1794}
package com.dino.unsplash.shared.data import com.dino.unsplash.shared.data.model.response.PhotoItem interface PhotoRepository { suspend fun getPhotos(page: Int, perPage: Int, orderBy: String): List<PhotoItem> }
0
Kotlin
0
0
e21836d28b6fab296e8ffd18abd512de6c478429
216
Unplash-Mobile
Apache License 2.0
detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/settings/PropertiesFacade.kt
detekt
71,729,669
false
null
package io.gitlab.arturbosch.detekt.core.settings import io.gitlab.arturbosch.detekt.api.PropertiesAware import io.gitlab.arturbosch.detekt.api.UnstableApi import java.util.concurrent.ConcurrentHashMap @OptIn(UnstableApi::class) internal class PropertiesFacade : PropertiesAware { private val _properties: Mutable...
190
null
772
6,253
c5d7ed3da2824534d0e15f8404ad4f1c59fb553c
516
detekt
Apache License 2.0
android/src/main/java/me/ashishekka/k8/android/RomPickerActivity.kt
AshishEkka97
542,257,044
false
{"Kotlin": 80665, "Ruby": 1672, "Swift": 312, "HTML": 197}
@file:OptIn(ExperimentalMaterialApi::class) package me.ashishekka.k8.android import android.app.Activity import android.content.Intent import android.os.Bundle import androidx.activity.compose.setContent import androidx.appcompat.app.AppCompatActivity import androidx.compose.foundation.background import androidx.comp...
0
Kotlin
0
2
9629766d916cdf15ac7c877582966de97cebb3ff
5,509
k8
MIT License
src/main/kotlin/kotcity/data/Economy.kt
kotcity
123,993,966
false
null
package kotcity.data import com.github.debop.kodatimes.dateTimeFromJson import kotcity.pathfinding.Path import kotcity.util.Debuggable enum class Tradeable { MONEY, GOODS, LABOR, RAW_MATERIALS, WHOLESALE_GOODS } object Prices { fun priceForGoods(tradeable: Tradeable, quantity: Int): Int { ...
0
null
23
480
0ee1cbf4ad345c956f4f2bcfc65bb0b2b423eb3b
7,066
kotcity
Apache License 2.0
app/src/main/java/com/vitovalov/taxilocator/domain/GetVehiclesUseCase.kt
vitovalov
199,463,540
false
null
package com.vitovalov.taxilocator.domain import com.vitovalov.taxilocator.domain.bo.GetVehiclesResponse import io.reactivex.Scheduler import io.reactivex.disposables.Disposable import io.reactivex.disposables.Disposables class GetVehiclesUseCase( private val vehiclesRepository: VehiclesRepository, private val...
0
Kotlin
0
0
01857b4ab3d0d4843246a9272dbf2e9c9b2b1b10
959
TaxiLocator
Apache License 2.0
data/src/main/java/com/hackertronix/data/repository/OverviewRepository.kt
kapiljhajhria
249,911,789
true
{"Kotlin": 54664}
package com.hackertronix.data.repository import com.hackertronix.data.local.Covid19StatsDatabase import com.hackertronix.data.network.API import com.hackertronix.model.overview.Overview import io.reactivex.Observable import io.reactivex.android.schedulers.AndroidSchedulers import io.reactivex.schedulers.Schedulers cl...
0
null
0
0
1955520be2a68e5cfda4f9b055a28016c3e22c97
1,139
91-DIVOC
Apache License 2.0
lib/src/main/java/com/zyyoona7/extensions/toast.kt
zyyoona7
101,261,210
false
null
package com.zj.utils.extends import android.app.Fragment import android.content.Context import android.view.View import android.widget.Toast /** * Created by zyyoona7 on 2017/8/24. * Toast 扩展函数 */ /* ---------- Context ---------- */ fun Context.toast(msg: String, duration: Int = Toast.LENGTH_SHORT) { if (d...
1
null
12
94
d6c6bb22f125e8cb30c97be3d5b508a1645a0c8c
929
KExtensions
Apache License 2.0
presentation-core/src/main/java/tachiyomi/presentation/core/util/Preference.kt
mihonapp
743,704,912
false
null
package tachiyomi.presentation.core.util import androidx.compose.runtime.Composable import androidx.compose.runtime.State import androidx.compose.runtime.collectAsState import androidx.compose.runtime.remember import tachiyomi.core.preference.Preference @Composable fun <T> Preference<T>.collectAsState(): State<T> { ...
83
null
447
9,867
f3a2f566c8a09ab862758ae69b43da2a2cd8f1db
413
mihon
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/opsworks/CfnStackPropsDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 63959868}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package io.cloudshiftdev.awscdkdsl.services.opsworks import io.cloudshiftdev.awscdkdsl.CfnTagDsl impo...
4
Kotlin
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
27,144
awscdk-dsl-kotlin
Apache License 2.0
src/main/kotlin/net/kodehawa/lib/imageboards/requests/RequestAction.kt
Doomsdayrs
188,209,067
true
{"Kotlin": 49623}
/* * Copyright 2017 Kodehawa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
0
Kotlin
0
0
aa9d0243de8d50309c7ce1e960a46083be066637
3,096
imageboard-api
Apache License 2.0
rest/src/main/java/weather/rest/model/Wind.kt
weupz
154,643,741
false
null
package weather.rest.model import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class Wind( @Json(name = "speed") val speed: Float, @Json(name = "deg") val deg: Float? )
3
Kotlin
1
0
560272ef568c6f83d3b377a67b8c7ef4ee203673
242
weather
MIT License
bezier/src/main/java/io/channel/bezier/icon/Thread.kt
channel-io
736,533,981
false
{"Kotlin": 2421787, "Python": 12500}
@file:Suppress("ObjectPropertyName", "UnusedReceiverParameter") // Auto-generated by script/generate_compose_bezier_icon.py package io.channel.bezier.icon import androidx.compose.foundation.layout.size import androidx.compose.material.Icon import androidx.compose.runtime.Composable import androidx.compose.ui.Modifie...
7
Kotlin
3
6
39cd58b0dd4a1543d54f0c1ce7c605f33ce135c6
6,431
bezier-compose
MIT License
problems/2021adventofcode01b/submissions/accepted/StefanDelegatedProperty.kt
stoman
47,287,900
false
{"C": 169266, "C++": 142801, "Kotlin": 115106, "Python": 76047, "Java": 68331, "Go": 46428, "TeX": 27545, "Shell": 3428, "Starlark": 2165, "Makefile": 1582, "SWIG": 722}
import java.util.* import kotlin.collections.ArrayDeque import kotlin.properties.ReadOnlyProperty import kotlin.reflect.KProperty /** Provides an [ArrayDeque] that is capped to a maximum size while reading. */ class CapacityConstrainedDeque<T>(private val maxSize: Int) : ReadOnlyProperty<Nothing?, ArrayDeque<T>> { p...
0
C
1
3
ee214c95c1dc1d5e9510052ae425d2b19bf8e2d9
909
competitive-programming
MIT License
app/src/main/kotlin/no/nav/tiltakspenger/vedtak/repository/behandling/introduksjonsprogrammet/IntroVilkårDbJson.kt
navikt
487,246,438
false
{"Kotlin": 979138, "Shell": 1318, "Dockerfile": 495, "HTML": 45}
package no.nav.tiltakspenger.vedtak.repository.behandling.introduksjonsprogrammet import no.nav.tiltakspenger.libs.periodisering.Periode import no.nav.tiltakspenger.saksbehandling.domene.vilkår.introduksjonsprogrammet.IntroSaksopplysning import no.nav.tiltakspenger.saksbehandling.domene.vilkår.introduksjonsprogrammet....
3
Kotlin
0
1
c23890a313eac464b2eae8d6e6f143b47a4b693e
1,782
tiltakspenger-vedtak
MIT License
app/src/main/java/com/circle/w3s/sample/wallet/pwcustom/MyViewSetterProvider.kt
circlefin
660,783,570
false
null
package com.circle.w3s.sample.wallet.pwcustom // Copyright (c) 2023, Circle Technologies, LLC. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.ap...
1
null
18
7
bfd3b27bd0176bbb94eeb09aa11f153dadbc8575
2,898
w3s-android-sample-app-wallets
Apache License 2.0
src/main/kotlin/no/nav/familie/oppdrag/rest/AvstemmingController.kt
navikt
204,882,382
false
null
package no.nav.familie.oppdrag.rest import no.nav.familie.kontrakter.felles.Ressurs import no.nav.familie.kontrakter.felles.oppdrag.GrensesnittavstemmingRequest import no.nav.familie.kontrakter.felles.oppdrag.KonsistensavstemmingRequestV2 import no.nav.familie.kontrakter.felles.oppdrag.KonsistensavstemmingUtbetalingso...
4
Kotlin
0
0
bf73cf599e09da8f052338a034dc1b53f7edbe7e
3,530
familie-oppdrag
MIT License
app/src/main/java/com/shadowshiftstudio/jobcentre/app/employer/view/main_screens/Vacancies.kt
DarlingInSteam
688,039,830
false
{"Kotlin": 110274}
package com.shadowshiftstudio.jobcentre.app.employer.view.main_screens import androidx.compose.runtime.Composable @Composable fun Vacancies() { }
16
Kotlin
0
0
5fecaf2864b701d0caf79f94d5b5f4e803c71c70
148
job-centre-frontend
Apache License 2.0
app/src/main/kotlin/dev/cherryd/unibot/Main.kt
Tema-man
744,223,241
false
{"Kotlin": 45054, "Dockerfile": 605}
package dev.cherryd.unibot import dev.cherryd.unibot.di.RelaysModule import dev.cherryd.unibot.di.RouterModule import io.github.oshai.kotlinlogging.KotlinLogging fun main(args: Array<String>) { val logger = KotlinLogging.logger { } logger.info { "Starting UniBot Application" } val unibot = Unibot( ...
0
Kotlin
0
0
7870f284ce2993f4da9590e4d84211e623e1878e
644
unibot
MIT License
src/integrationTest/kotlin/io/github/endzeitbegins/nifi/flowovertcp/nifi/gateways/NiFiApiGateway.kt
EndzeitBegins
562,531,219
false
{"Kotlin": 129527}
package io.github.endzeitbegins.nifi.flowovertcp.nifi.gateways import io.github.endzeitbegins.nifi.flowovertcp.nifi.flow.models.* interface NiFiApiGateway { fun createProcessGroup( parentProcessGroupId: String, name: String, position: Position = defaultPosition, ): ProcessGroup f...
2
Kotlin
1
2
eb86d568839530dac691a1dc336748a803974a18
1,098
nifi-flow-over-tcp
Apache License 2.0
app/src/main/java/com/zoosumzoosum/zoosumx2/SettingActivity.kt
ZOOSUMX2
330,588,016
false
null
package com.zoosumzoosum.zoosumx2 import android.content.Intent import android.net.Uri import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.ImageButton import android.widget.LinearLayout import android.widget.Toast import com.google.android.gms.auth.api.signin.GoogleSignIn imp...
0
Kotlin
0
2
1397f49669513fb2778fbdc09d30841f4edb073b
3,951
ZOOSUMX2_Android
MIT License
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/VehicleCarParking.kt
Konyaco
574,321,009
false
null
package com.konyaco.fluent.icons.regular import androidx.compose.ui.graphics.vector.ImageVector import com.konyaco.fluent.icons.Icons import com.konyaco.fluent.icons.fluentIcon import com.konyaco.fluent.icons.fluentPath public val Icons.Regular.VehicleCarParking: ImageVector get() { if (_vehicleCarParki...
1
Kotlin
3
83
9e86d93bf1f9ca63a93a913c990e95f13d8ede5a
4,544
compose-fluent-ui
Apache License 2.0
app/src/main/java/com/example/bloder/rxmvp/home/representers/fragments/FoodFragmentRepresenter.kt
bloderxd
91,920,056
false
null
package com.example.bloder.rxmvp.home.representers.fragments import com.example.bloder.rxmvp.data.Food import com.example.bloder.rxmvp.rx.Cloud /** * Created by bloder on 23/05/17. */ sealed class FoodFragmentRepresenter : Cloud.Representer { data class FoodFetched(var foods: List<Food> = listOf()) : FoodFragm...
0
Kotlin
1
9
b1faa68c491058ffc358715ca7381517bee92b50
338
kloud
MIT License
app/src/main/java/com/goldenraven/padawanwallet/theme/Fonts.kt
thunderbiscuit
308,999,831
false
null
package com.goldenraven.padawanwallet.theme import androidx.compose.ui.text.font.Font import androidx.compose.ui.text.font.FontFamily import androidx.compose.ui.text.font.FontStyle import androidx.compose.ui.text.font.FontWeight import com.goldenraven.padawanwallet.R val ShareTechMono = FontFamily( Font(R.font.sh...
39
Kotlin
14
47
87a9150f1e1a7eadcbdac3f585355b36e98f177b
662
padawan-wallet
Apache License 2.0
src/Day02.kt
strindberg
572,685,170
false
{"Kotlin": 15804}
import Result.DRAW import Result.LOSS import Result.WIN sealed interface Move { val points: Int fun beats(other: Move): Result fun askedFor(result: Result): Move } enum class Result { WIN, DRAW, LOSS } object Rock : Move { override val points = 1 override fun beats(other: Move) = whe...
0
Kotlin
0
0
c5d26b5bdc320ca2aeb39eba8c776fcfc50ea6c8
2,899
aoc-2022
Apache License 2.0
app/src/main/java/com/dramtar/billscollecting/presenter/utils/composedatepicker/CalendarHeader.kt
MaxBuriak
544,515,289
false
{"Kotlin": 131241}
package com.dramtar.billscollecting.presenter.utils.composedatepicker import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxWidth import a...
0
Kotlin
0
1
6f5f94dec8455def198626ffb1e279d6c71bc50b
2,802
Bills-Collecting
Apache License 2.0
app/src/main/java/ir/mahdighanbarpour/khwarazmiapp/MyApp.kt
MahdiGhanbarpour
735,064,418
false
{"Kotlin": 708590}
package ir.mahdighanbarpour.khwarazmiapp import android.app.Application import com.google.firebase.analytics.FirebaseAnalytics import com.google.firebase.analytics.ktx.analytics import com.google.firebase.ktx.Firebase import ir.mahdighanbarpour.khwarazmiapp.di.myModules import org.koin.android.ext.koin.androidContext ...
0
Kotlin
0
0
6fd6104330e500b9afee6f7f09fa1f80890e3c63
716
Emtehanak
MIT License
ERMSManager/src/main/java/com/kust/ermsmanager/data/repositories/ChatRepositoryImpl.kt
sabghat90
591,653,827
false
{"Kotlin": 583902, "HTML": 87217}
package com.kust.ermsmanager.data.repositories import com.google.firebase.auth.FirebaseAuth import com.google.firebase.database.DataSnapshot import com.google.firebase.database.DatabaseError import com.google.firebase.database.FirebaseDatabase import com.google.firebase.database.ValueEventListener import com.kust.erms...
1
Kotlin
0
2
56497f553ddcbbe2bdbafb987caa40cb44d552e8
4,003
ERMS
MIT License
health/health-services-client/src/main/java/androidx/health/services/client/ListenableFutureExtension.kt
androidx
256,589,781
false
null
/* * Copyright 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
null
937
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
1,476
androidx
Apache License 2.0
idea/tests/testData/compiler/loadJava/compiledKotlin/platformTypes/nullableTypeArgument.kt
JetBrains
278,369,660
false
null
// TARGET_BACKEND: JVM // FULL_JDK // JAVAC_EXPECTED_FILE // NO_CHECK_SOURCE_VS_BINARY package test class C: java.util.ArrayList<String?>()
181
null
5748
82
cc81d7505bc3e9ad503d706998ae8026c067e838
142
intellij-kotlin
Apache License 2.0
financial-connections/src/test/java/com/stripe/android/financialconnections/domain/NativeAuthFlowRouterTest.kt
stripe
6,926,049
false
null
package com.stripe.android.financialconnections.domain import com.google.common.truth.Truth.assertThat import com.stripe.android.financialconnections.ApiKeyFixtures import com.stripe.android.financialconnections.analytics.FinancialConnectionsAnalyticsTracker import com.stripe.android.financialconnections.analytics.Fin...
86
null
621
1,208
2f395065d4655723f82b03665521b88bea7fc742
4,067
stripe-android
MIT License
agp-7.1.0-alpha01/tools/base/build-system/gradle-core/src/main/java/com/android/build/api/variant/impl/PackagingImpl.kt
jomof
502,039,754
false
{"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID...
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1
Java
1
0
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
1,256
CppBuildCacheWorkInProgress
Apache License 2.0
app/src/main/java/com/rmoralf/roomcleanarchitectureapp/di/AppModule.kt
rmoralf
485,126,636
false
null
package com.rmoralf.roomcleanarchitectureapp.di import android.content.Context import androidx.room.Room import com.rmoralf.roomcleanarchitectureapp.core.utils.Constants.ROOM_DB_NAME import com.rmoralf.roomcleanarchitectureapp.data.database.WeightDatabase import com.rmoralf.roomcleanarchitectureapp.data.database.dao.W...
0
Kotlin
0
0
4f1f9b5246b5edd7b1e98ecb8a5fdda3808ee165
1,794
RoomCleanArchitectureApp
Apache License 2.0
src/main/kotlin/no/nav/faktureringskomponenten/domain/models/Faktura.kt
navikt
554,076,848
false
{"Kotlin": 196893, "Shell": 229, "Dockerfile": 199}
package no.nav.faktureringskomponenten.domain.models import com.fasterxml.jackson.annotation.JsonIgnore import jakarta.persistence.* import java.math.BigDecimal import java.time.LocalDate @Entity @Table(name = "faktura") class Faktura( @Id @GeneratedValue(strategy = GenerationType.IDENTITY) val id: Long?...
5
Kotlin
0
0
f28ff9ae64893411a9a70b747db3db19e28f33a1
1,863
faktureringskomponenten
MIT License
src/integrationMain/kotlin/com/liftric/apt/ContainerBase.kt
Liftric
649,623,052
false
null
package com.liftric.apt import io.minio.* import org.testcontainers.containers.GenericContainer import org.testcontainers.utility.DockerImageName import io.minio.errors.MinioException import org.testcontainers.containers.Network import java.io.File import java.io.FileOutputStream import java.io.InputStream /** * Thi...
0
Kotlin
0
1
bbd083f230bded6bb4395a94d7ddc8b643428fd8
5,065
s3-apt-repository-plugin
MIT License
src/main/kotlin/grd/kotlin/authapi/dto/AUserDto.kt
gardehal
708,548,046
false
{"Kotlin": 54861, "Shell": 612, "HTML": 331}
package grd.kotlin.authapi.dto import grd.kotlin.authapi.enums.UserRole import io.swagger.v3.oas.annotations.media.Schema data class AUserDto( @Schema(description = "ID") var id: String? = null, @Schema(description = "Email") var email: String? = null, @Schema(description = "Username to display"...
0
Kotlin
0
0
e4be0bf711bdd8dbd3dad876bd20babd88559aca
1,215
kotlin-auth-api
MIT License
core/data/src/commonMain/kotlin/in/surajsau/jisho/data/GetSentencesForWord.kt
surajsau
489,927,815
false
null
package `in`.surajsau.jisho.data import `in`.surajsau.jisho.data.db.Jisho import `in`.surajsau.jisho.utils.DispatcherProvider import `in`.surajsau.jisho.model.Sentence import `in`.surajsau.jisho.model.SentenceQuery import `in`.surajsau.jisho.model.SentenceResult import kotlinx.coroutines.withContext public class GetS...
0
Kotlin
0
1
83de51c9040d748b06651d8dbeb1a367d98ea362
1,415
Multiplatform-Jisho
Apache License 2.0
app/src/main/java/com/tarripoha/android/data/model/User.kt
rajatsangrame
340,683,468
false
null
package com.tarripoha.android.data.model data class User( val id: String, val name: String, val phone: String, val email: String, val password: String? = null, var emailVerified: Boolean? = null, val city: String? = null, var dirty: Boolean? = null, val admin: Boolean = false, v...
0
Kotlin
0
0
ad05c8f210b7d2c641b4d14fceba55fb02f0801c
766
tarripoha-android
MIT License
device/src/main/java/com/sedsoftware/yaptalker/device/settings/DefaultHomeScreen.kt
djkovrik
98,050,611
false
null
package com.sedsoftware.yaptalker.device.settings object DefaultHomeScreen { const val MAIN = "MAIN" const val FORUMS = "FORUMS" const val ACTIVE_TOPICS = "ACTIVE_TOPICS" const val INCUBATOR = "INCUBATOR" }
0
null
4
9
465c34c3dc0dd0488b637073fddf6cd797e78613
224
YapTalker
Apache License 2.0
lib/src/main/kotlin/tools.kt
markmckenna
42,368,179
false
null
package org.lantopia.kstream fun Any.unit() = Unit fun expr(value: Any): Boolean = true operator fun Boolean.and(action: () -> Unit) = if (this) action() else unit() infix fun Boolean.or(action: () -> Unit) = if (this) unit() else action()
0
Kotlin
0
0
e4d7e6645ad99792acb1f00f818cda3cdcc9ab58
243
lib-kotlin
MIT License
bbfgradle/tmp/results/BACKUP_JVM-Xuse-ir/BACKEND_rzgkhgc_FILE.kt
DaniilStepanov
346,008,310
false
null
// Bug happens on JVM -Xuse-ir //File: tmp/tmp0.kt val uintSet = mutableSetOf(1u) .contains{{}!!}
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
99
kotlinWithFuzzer
Apache License 2.0
src/test/kotlin/no/nav/fo/veilarbregistrering/registrering/ordinaer/resources/OrdinaerBrukerRegistreringResourceTest.kt
navikt
131,013,336
false
null
package no.nav.fo.veilarbregistrering.registrering.ordinaer.resources import io.getunleash.Unleash import io.mockk.clearAllMocks import io.mockk.every import io.mockk.mockk import io.mockk.mockkStatic import io.mockk.verify import javax.servlet.http.HttpServletRequest import no.nav.common.auth.context.AuthContextHolde...
18
null
8
6
b608c00bb1a2d1fce4fa7703b24f51e692ad5860
7,394
veilarbregistrering
MIT License
server/src/main/kotlin/org/reckful/archive/twitter/server/mapper/DateTimeMapper.kt
ReckfulArchive
632,190,129
false
null
package org.reckful.archive.twitter.server.dto.mapper import org.reckful.archive.twitter.server.dto.DateTimeDTO import org.springframework.stereotype.Component import java.time.LocalDate import java.time.LocalDateTime import java.time.format.DateTimeFormatter @Component class DateTimeMapper { fun map(localDate: ...
8
Kotlin
0
0
118e8785c1c82afe934c17ba4be45fa03edac51b
1,248
twitter-server
MIT License
app/src/main/java/com/gstormdev/urbandictionary/ui/main/DefinitionAdapter.kt
geoffstorm
276,220,454
false
null
package com.gstormdev.urbandictionary.ui.main import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.RecyclerView import com.gstormdev.urbandictionary.databinding.DefinitionListItemBinding import com.gstormdev.urbandictionary.en...
0
Kotlin
0
0
bab7d5e6babb69cbb909ff16bb4bedac551588b5
2,270
UrbanDictionary
MIT License
idea/testData/quickfix/createFromUsage/createVariable/property/memberVarDelegateRuntime.kt
JakeWharton
99,388,807
true
null
// "Create property 'foo'" "true" // ERROR: Property must be initialized or be abstract // ERROR: Variable 'foo' must be initialized class A<T> { var x: A<Int> by <caret>foo }
1
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
181
kotlin
Apache License 2.0
fragmenttracer-navigation/src/main/java/com/atsuya046/fragmenttracer/navigation/FragmentTracerNavigation.kt
atsuya046
333,294,621
false
null
package com.atsuya046.fragmenttracer.navigation import androidx.fragment.app.Fragment import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleEventObserver import androidx.lifecycle.LifecycleOwner import androidx.navigation.fragment.NavHostFragment import com.atsuya046.fragmenttracer.FragmentPerformance...
0
Kotlin
0
0
3f2dcb620663cb876d1564870ba0f4441da3f6a1
967
FragmentTracer
MIT License
kt/godot-library/src/main/kotlin/godot/gen/godot/PlaceholderCubemap.kt
utopia-rise
289,462,532
false
{"Kotlin": 1482791, "GDScript": 533983, "C++": 491643, "C": 12468, "C#": 10278, "Shell": 7406, "Java": 2153, "CMake": 939, "Python": 75}
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT", "Redundan...
63
Kotlin
39
571
39dc30230a30d2a6ab4ec3277eb3bc270995ab23
1,346
godot-kotlin-jvm
MIT License
src/main/kotlin/com/masdiq/plugins/Koin.kt
nickdferrara
651,884,974
false
null
package com.masdiq.plugins import com.masdiq.di.koinModule import io.ktor.server.application.* import org.koin.ktor.plugin.Koin import org.koin.logger.slf4jLogger fun Application.configureKoin() { install(Koin) { slf4jLogger() modules(koinModule) } }
0
Kotlin
1
0
57d49ef031600916b9fb28c474386d5981b90816
276
server-ktor-heroapp
MIT License
app/src/main/java/com/phil/airinkorea/ui/home/HomeRoute.kt
wonhaeseong
574,473,916
false
{"Kotlin": 198684}
package com.phil.airinkorea.ui.home import android.Manifest import android.content.Intent import android.net.Uri import android.provider.Settings import androidx.activity.ComponentActivity import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.IntentSenderRequest import andr...
1
Kotlin
0
1
c6f204fffb3e9a35067bb8afdfacb63628a58453
3,567
AirInKorea
Apache License 2.0
core/src/main/kotlin/materialui/components/button/ButtonElementBuilder.kt
subroh0508
167,797,152
false
null
package materialui.components.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.enums.ButtonVariant import ma...
14
null
27
81
a959a951ace3b9bd49dc5405bea150d4d53cf162
1,442
kotlin-material-ui
MIT License
feature/randomcards/src/main/kotlin/com/donghanx/randomcards/navigation/RandomCardsNavigation.kt
DonghanX
697,115,187
false
{"Kotlin": 185893}
package com.donghanx.randomcards.navigation import androidx.navigation.NavGraphBuilder import androidx.navigation.compose.composable import androidx.navigation.navigation import com.donghanx.randomcards.RandomCardsScreen const val RANDOM_CARDS_GRAPH_ROUTE = "RandomCardsGraph" const val RANDOM_CARDS_ROUTE = "RandomCar...
0
Kotlin
0
0
eb34db7c412e65f639cf2c1caaf7fc37736c2b06
951
nowinmtg
MIT License
src/test/kotlin/name/valery1707/problem/e/olymp/Problem2863KTest.kt
valery1707
541,970,894
false
null
package name.valery1707.problem.e.olymp import name.valery1707.problem.TestUtilsJ.withinConsole import name.valery1707.problem.junit.Implementation import name.valery1707.problem.junit.ImplementationSource import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.params.ParameterizedTest import org.ju...
3
null
1
1
55f9cb65499168735277131e2fbe44a918ec86ca
822
problem-solving
MIT License
comm/src/main/java/dev/franco/comm/DiscoveryService.kt
frank240889
647,016,046
false
null
package dev.franco.comm import android.app.Service import android.content.Context import android.content.Intent import android.net.nsd.NsdManager import android.net.nsd.NsdManager.DiscoveryListener import android.net.nsd.NsdManager.FAILURE_INTERNAL_ERROR import android.net.nsd.NsdManager.ResolveListener import android...
0
Kotlin
0
0
270d447c685201af024c2d7b15d1501ae34006e4
13,161
SecureChat
MIT License
ktor-io/jvm/src/io/ktor/utils/io/jvm/nio/Reading.kt
ktorio
40,136,600
false
null
package kotlinx.coroutines.io.jvm.nio import kotlinx.coroutines.io.* import java.nio.* import java.nio.channels.* /** * Copies up to [limit] bytes from blocking NIO channel to CIO [ch]. It does suspend if no space available for writing * in the destination channel but may block if source NIO channel blocks. * * @...
269
null
806
9,709
9e0eb99aa2a0a6bc095f162328525be1a76edb21
1,596
ktor
Apache License 2.0
app/src/main/java/jp/mihailskuzmins/sugoinihongoapp/persistence/models/firestore/grammarrule/GrammarRuleListModel.kt
MihailsKuzmins
240,947,625
false
null
package jp.mihailskuzmins.sugoinihongoapp.persistence.models.firestore.grammarrule import jp.mihailskuzmins.sugoinihongoapp.persistence.models.HasId class GrammarRuleListModel(override val id: String) : HasId { var header: String = "" var body: String = "" }
1
null
1
1
57e19b90b4291dc887a92f6d57f9be349373a444
263
sugoi-nihongo-android
Apache License 2.0
common/src/main/java/com/kms/common/storage/User.kt
flymrc
345,905,394
false
null
package com.kms.common.storage import cn.leancloud.AVException import cn.leancloud.AVFile import cn.leancloud.AVObject import cn.leancloud.AVUser import cn.leancloud.annotation.AVClassName @AVClassName("_User") class User : AVUser() { companion object { const val KEY_NICKNAME = "name" const val KE...
4
Kotlin
0
0
1ee479d0d6ba9203a651076e5141632b718f9797
1,295
kid-management-system
MIT License
src/main/kotlin/structures/GraphWithWeights.kt
DmitryTsyvtsyn
418,166,620
false
{"Kotlin": 228861}
package structures /** * * Graph is a non-linear data structure consisting of vertices and edges. * * The vertices are sometimes also referred to as nodes and the edges are lines or arcs that connect any two nodes in the graph. * * More formally a Graph is composed of a set of vertices V and a set of edges E. T...
0
Kotlin
135
788
1f89f062a056e24cc289ffdd0c6e23cadf8df887
3,587
Kotlin-Algorithms-and-Design-Patterns
MIT License
app/src/main/java/com/spf/app/data/RouteInfo.kt
arshdeepdhillon
467,025,478
false
null
package com.spf.app.data import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.ForeignKey import androidx.room.ForeignKey.NO_ACTION import androidx.room.PrimaryKey // Not using ForeignKey.CASCADE on child table in case we need to manipulate data on delete (ie: Recycle Bin) @Entity(tableName...
0
Kotlin
0
0
3a4ef605cf193c552364406a96296cbae1050290
1,164
SPF
MIT License