path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/abc/186-e.kt | kirimin | 197,707,422 | false | null | package abc
import utilities.debugLog
import java.util.*
fun main(args: Array<String>) {
val sc = Scanner(System.`in`)
val t = sc.nextInt()
val nsk = (0 until t).map { Triple(sc.nextLong(), sc.nextLong(), sc.nextLong()) }
println(problem186e(t, nsk))
}
fun problem186e(t: Int, nsk: List<Triple<Long, L... | 0 | Kotlin | 1 | 5 | 23c9b35da486d98ab80cc56fad9adf609c41a446 | 843 | AtCoderLog | The Unlicense |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/opmodes/misc/DoNotBreakThisTeleOpWithArm.kt | ManchesterMachineMakers | 417,294,104 | false | {"Kotlin": 79452, "Java": 46534, "Shell": 5590, "Makefile": 1243} | package org.firstinspires.ftc.teamcode.opmodes.misc
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode
import com.qualcomm.robotcore.eventloop.opmode.TeleOp
import com.qualcomm.robotcore.hardware.DcMotor
import com.qualcomm.robotcore.hardware.DcMotorSimple
import org.firstinspires.ftc.teamcode.subassemblies.m... | 10 | Kotlin | 1 | 1 | b54f1ef2cb933e3f98fc4e718b3c83bf29f4ae5a | 2,831 | RobotController | BSD 3-Clause Clear License |
app/src/test/java/me/xhsun/gw2leo/registry/FakeAppModule.kt | xhsun | 497,594,768 | false | null | package me.xhsun.gw2leo.registry
import androidx.paging.ExperimentalPagingApi
import androidx.paging.RemoteMediator
import dagger.Module
import dagger.Provides
import dagger.hilt.components.SingletonComponent
import dagger.hilt.testing.TestInstallIn
import io.mockk.mockk
import kotlinx.coroutines.CoroutineDispatcher
i... | 0 | Kotlin | 0 | 0 | 96a8b6dc6f29572006626a3bd3e4186d41a5839c | 2,643 | gw2-leo | Apache License 2.0 |
app/src/main/java/com/dilip/qrventory/presentation/auth/login/LoginViewModel.kt | dilip2882 | 870,066,912 | false | {"Kotlin": 167330} | package com.dilip.qrventory.presentation.auth.login
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
class LoginScreenViewModel : ViewModel() {
var uiState by mutableStateOf(LoginUiState())
... | 0 | Kotlin | 1 | 1 | c5b9375589a3ac213c6545e0c5b48088019a5b5a | 644 | QRVentory | Apache License 2.0 |
app/src/main/java/com/walker/war/adapter/MainAdatper.kt | walker0406 | 383,407,541 | false | {"Gradle": 5, "Java Properties": 1, "Text": 1, "Ignore List": 4, "Markdown": 1, "Proguard": 3, "XML": 45, "Kotlin": 65, "INI": 1, "JSON": 1, "Java": 1} | package com.walker.war.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.paging.PagingDataAdapter
import androidx.recyclerview.widget.RecyclerView
import com.airbnb.epoxy.EpoxyDataBindingLayouts
import com.bumpt... | 0 | Kotlin | 0 | 0 | 495fa94d9a53a64f11ae6adee4c094ae58482555 | 1,766 | war | Apache License 2.0 |
src/main/kotlin/com/wrike/sprinter/settings/HotSwapAgentPluginModulesSettingsState.kt | wrike | 632,906,511 | false | null | package com.wrike.sprinter.settings
import com.intellij.openapi.components.PersistentStateComponent
import com.intellij.openapi.components.State
import com.intellij.openapi.components.Storage
import com.intellij.openapi.project.Project
import com.intellij.util.xmlb.XmlSerializerUtil
@State(
name = "com.wrike.spri... | 0 | Kotlin | 0 | 0 | e84952ed56fac0175e5347dee24c638963ae61bb | 1,057 | sprinter-idea-plugin | Apache License 2.0 |
mewwalletbl/src/main/java/com/myetherwallet/mewwalletbl/connection/MessageCrypt.kt | MyEtherWallet | 225,456,139 | false | null | package com.myetherwallet.mewwalletbl.connection
import com.myetherwallet.mewwalletbl.MewEnvironment
import com.myetherwallet.mewwalletbl.data.BaseMessage
import com.myetherwallet.mewwalletbl.data.EncryptedMessage
import com.myetherwallet.mewwalletkit.bip.bip44.PrivateKey
import com.myetherwallet.mewwalletkit.core.ext... | 2 | null | 6 | 8 | 0c876055cad9373c425230b8444978bee11e2a52 | 5,450 | mew-wallet-android-biz-logic | MIT License |
example-app/src/main/java/com/adyen/checkout/example/data/api/CheckoutApiService.kt | Adyen | 91,104,663 | false | null | /*
* Copyright (c) 2019 <NAME>
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by arman on 10/10/2019.
*/
package com.adyen.checkout.example.data.api
import com.adyen.checkout.components.core.PaymentMethodsApiResponse
import com.adyen.checkout.ex... | 31 | null | 66 | 96 | 1f000e27e07467f3a30bb3a786a43de62be003b2 | 2,469 | adyen-android | MIT License |
presentation/viewmodel/src/main/java/com/chocolate/viewmodel/base/StringsResource.kt | team-chocolate-cake | 669,924,259 | false | {"Kotlin": 522388} | package com.chocolate.viewmodel.base
interface StringsResource {
val emptyEmailMessage: String
val emptyFullNameMessage: String
val emptyPassword: String
val sameUserDataMessage: String
val noConnectionMessage: String
val globalMessageError: String
val successMessage: String
val organiz... | 1 | Kotlin | 2 | 4 | 8441d97fd75fcbb68ee25934022d914bc7fcc36d | 1,311 | Teamix | MIT License |
codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/endpoint/EndpointConfigCustomization.kt | awslabs | 308,027,791 | false | null | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package software.amazon.smithy.rust.codegen.client.smithy.endpoint
import software.amazon.smithy.rust.codegen.client.smithy.ClientCodegenContext
import software.amazon.smithy.rust.codegen.client.smithy.... | 352 | null | 144 | 388 | 26a914ece072bba2dd9b5b49003204b70e7666ac | 11,818 | smithy-rs | Apache License 2.0 |
src/main/kotlin/icu/windea/pls/lang/projectView/CwtConfigProjectViewDecorator.kt | DragonKnightOfBreeze | 328,104,626 | false | {"Kotlin": 3439993, "Java": 164698, "Lex": 42127, "HTML": 23760, "Shell": 2822} | package icu.windea.pls.lang.projectView
import com.intellij.ide.projectView.*
import com.intellij.ide.projectView.impl.nodes.*
import icons.*
import icu.windea.pls.ep.configGroup.*
/**
* 在项目视图中为规则分组所在的目录提供特定的图标和额外的信息文本。
*/
class CwtConfigProjectViewDecorator: ProjectViewNodeDecorator {
override fun decorate(nod... | 11 | Kotlin | 5 | 39 | b67714e5b7ca5f48c5197f6c8e4b093de679d6be | 938 | Paradox-Language-Support | MIT License |
main/src/main/java/com/quxianggif/user/adapter/RecommendFollowingAdapter.kt | guolindev | 167,902,491 | false | null | /*
* Copyright (C) guolin, Suzhou Quxiang Inc. Open source codes for study only.
* Do not use for commercial purpose.
*
* 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://w... | 30 | null | 692 | 3,448 | 26227595483a8f2508f23d947b3fe99721346e0f | 6,867 | giffun | Apache License 2.0 |
app/src/main/java/com/rne1223/bitfit/LogsFragment.kt | rne1223 | 555,867,918 | false | null | package com.rne1223.bitfit
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.lifecycle.lifecycleScope
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.Recycl... | 1 | Kotlin | 0 | 0 | 5c0fb1c1fb61cabc144e27b6cf3300feacac1a4c | 2,247 | Bitfit2 | Apache License 2.0 |
graph/graph-adapter-output-spring-data-neo4j-sdn6/src/test/kotlin/org/orkg/graph/adapter/output/neo4j/SpringDataNeo4jThingAdapterCachingTests.kt | TIBHannover | 197,416,205 | false | null | package eu.tib.orkg.prototype.statements.adapter.output.neo4j.spring
import eu.tib.orkg.prototype.statements.domain.model.ThingId
import eu.tib.orkg.prototype.statements.spi.ClassRepository
import eu.tib.orkg.prototype.statements.spi.LiteralRepository
import eu.tib.orkg.prototype.statements.spi.PredicateRepository
imp... | 0 | Kotlin | 2 | 5 | ce3f24748dd2d9c06e6125e033bc7ae83122925f | 13,303 | orkg-backend | MIT License |
common/src/test/java/com/pedro/common/Av1ParserTest.kt | pedroSG94 | 79,667,969 | false | null | /*
* Copyright (C) 2024 pedroSG94.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 87 | null | 772 | 2,545 | eca59948009d5a7b564f9a838c149b850898d089 | 2,048 | RootEncoder | Apache License 2.0 |
camunda-example-domain/src/main/kotlin/br/com/camunda/example/domain/model/Transference.kt | ricardofpu | 146,937,534 | false | null | package br.com.camunda.example.domain.model
import br.com.camunda.example.domain.entity.DBEntity
import br.com.camunda.example.domain.enums.PaymentStatus
import com.fasterxml.jackson.annotation.JsonIgnore
import org.hibernate.annotations.GenericGenerator
import java.math.BigDecimal
import java.util.*
import javax.pers... | 0 | Kotlin | 0 | 1 | 1e4179db133ce38e9c86f548887bfd55737a732d | 2,234 | spring-boot-camunda-example | Apache License 2.0 |
mylibrary/src/main/java/com/peimissionx/leilibrary/InvisibleFragment.kt | Lei10 | 429,278,054 | false | {"Kotlin": 5026} | package com.peimissionx.leilibrary
import android.content.pm.PackageManager
import androidx.core.app.ActivityCompat.requestPermissions
import androidx.fragment.app.Fragment
import javax.security.auth.callback.Callback
typealias PermissionCallback = (Boolean,List<String>) -> Unit
class InvisibleFragment : Fragment()... | 0 | Kotlin | 0 | 0 | dd49605494733eb937b8468c8c7771f623d822a0 | 1,099 | PermissionX | Apache License 2.0 |
android-test-framework/testSrc/com/android/tools/idea/testing/AgpIntegrationTests.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2021 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... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 8,831 | android | Apache License 2.0 |
hooks/src/commonMain/kotlin/xyz/junerver/compose/hooks/constant.kt | junerver | 767,292,867 | false | {"Kotlin": 416351} | package xyz.junerver.compose.hooks
import xyz.junerver.compose.hooks.useform.FormInstance
/*
Description:
Author: Junerver
Date: 2024/8/1-9:58
Email: <EMAIL>
Version: v1.0
*/
internal const val KEY_PREFIX = "HOOK_INTERNAL_"
private const val CACHE_KEY_PREFIX = "${KEY_PREFIX}CACHE_MANAGER_"
internal val St... | 0 | Kotlin | 5 | 56 | 35a1f9fcc56ca049a992ca33d961aab48d84e1a5 | 714 | ComposeHooks | Apache License 2.0 |
Prime-Number/prime_test.kt | amrendranj | 108,084,144 | true | {"Kotlin": 2154, "Python": 1903, "Ruby": 1423, "C++": 1344, "Java": 1175, "JavaScript": 931, "PHP": 822, "Elixir": 696, "Erlang": 467, "Shell": 425, "C#": 295, "C": 244, "VHDL": 220, "Go": 200, "HTML": 149, "Swift": 123, "Visual Basic": 43} | /**
* Language: Kotlin
* Author: <NAME>
* Github: https://github.com/szaboa
*
* Check if the first given argument is prime or not
*/
fun main(args: Array<String>) {
if (args.size == 0) {
println("Please provide a number as command-line argument")
return
}
var isPrime = true
va... | 0 | Kotlin | 1 | 0 | 6ddd9ff03c3a7a21da8e9a7aa17389b8fc5ab7dd | 869 | Hacktoberfest2017-1 | MIT License |
sdk/src/commonMain/kotlin/org/timemates/sdk/users/profile/types/User.kt | timemates | 575,534,072 | false | null | package io.timemates.sdk.users.profile.types
import io.timemates.sdk.common.types.TimeMatesEntity
import io.timemates.sdk.files.types.value.FileId
import io.timemates.sdk.users.profile.types.value.EmailAddress
import io.timemates.sdk.users.profile.types.value.UserDescription
import io.timemates.sdk.users.profile.types... | 4 | Kotlin | 0 | 9 | ede0c538935ec8f2c452d7cfb4d6747a1a1c81c7 | 956 | sdk | MIT License |
app/src/main/java/wannabit/io/cosmostaion/ui/option/tx/address/AddressBookViewHolder.kt | cosmostation | 418,314,439 | false | null | package wannabit.io.cosmostaion.ui.option.tx.address
import android.content.Context
import android.view.View
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.RecyclerView
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import... | 1 | null | 43 | 83 | b04f3615c7c7b4407d719e160155a8c03fbae3a9 | 4,849 | cosmostation-android | MIT License |
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/types/renderers/KaFunctionalTypeRenderer.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.api.renderer.types.renderers
import org.jetbrains.kotlin.analysis.api.K... | 184 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 4,360 | kotlin | Apache License 2.0 |
kotlin/reakt-native-toolkit/src/jvmMain/kotlin/de/voize/reaktnativetoolkit/util/PlatformUtil.kt | voize-gmbh | 568,889,436 | false | {"Kotlin": 202340, "TypeScript": 77029, "Objective-C": 15383, "Objective-C++": 5071, "Ruby": 4276, "C++": 2053, "JavaScript": 1649, "Makefile": 1510, "Java": 679, "Shell": 643} | @file:JvmName("PlatformUtilJvm")
package de.voize.reaktnativetoolkit.util
internal actual fun uuid(): String {
error("Not implemented for JVM target")
} | 5 | Kotlin | 3 | 90 | f084a53352f8ea3f0b223f4f5eafaa19d17b6432 | 157 | reakt-native-toolkit | Apache License 2.0 |
src/main/kotlin/org/equeim/bencode/Bencode.kt | equeim | 315,091,944 | false | {"Kotlin": 16533, "Java": 11219} | package org.equeim.bencode
import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.SerializationStrategy
import kotlinx.serialization.serializer
import java.io.ByteArrayOutputStream
import java.io.InputStream
import java.io.OutputStream
import java.nio.charset.Charset
import java.nio.charset.... | 0 | Kotlin | 0 | 1 | 97dccac52b8b72ee6a802f7c5efdc267c5251570 | 1,861 | kotlinx-serialization-bencode | Apache License 2.0 |
plugins/gitlab/src/org/jetbrains/plugins/gitlab/api/dto/GitLabGroupMemberDTO.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.plugins.gitlab.api.dto
import com.intellij.collaboration.api.dto.GraphQLFragment
import org.jetbrains.plugins.gitlab.api.SinceGitLab
@SinceGitLab("13.1")
@GraphQLFragment("/gr... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 561 | intellij-community | Apache License 2.0 |
app/src/main/java/com/malibin/morse/data/entity/ChatMessage.kt | cha7713 | 463,427,946 | true | {"Kotlin": 121634, "PureBasic": 2910} | package com.malibin.morse.data.entity
import com.malibin.morse.data.service.params.SendChatMessageParams
import java.util.*
/**
* Created By Malibin
* on 1월 27, 2021
*/
data class ChatMessage(
val message: String,
val userNickname: String = "",
val isPresenter: Boolean = false,
val id: String = UU... | 0 | null | 0 | 0 | 8103c56b8079224aba8eedc7a4a4af40a1b92b4c | 405 | morse_android_stove_camp | Apache License 2.0 |
app/src/main/java/com/dartharrmi/resipi/base/ResipiFragment.kt | jArrMi | 283,382,558 | false | null | package com.dartharrmi.resipi.base
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.CallSuper
import androidx.annotation.VisibleForTesting
import androidx.annotation.VisibleForTesting.PROTECTED
i... | 0 | null | 0 | 2 | 31898d545f6ae6dc23869502b41450ab734d877b | 2,355 | resipi | MIT License |
src/main/kotlin/tk/roccodev/hiveapi/game/GameMap.kt | RoccoDev | 126,229,924 | false | null | package tk.roccodev.hiveapi.game
class GameMap(val worldName: String, val mapName: String, val author: String, val addedAt: Int, val enumName: String) | 0 | Kotlin | 0 | 1 | 6635189357b3e81f99320ef9b5ca6822fdb991bd | 151 | HiveAPIKt | MIT License |
feature-wallet-impl/src/main/java/jp/co/soramitsu/wallet/impl/presentation/balance/assetActions/buy/BuyProviderChooserBottomSheet.kt | soramitsu | 278,060,397 | false | null | package jp.co.soramitsu.wallet.impl.presentation.balance.assetActions.buy
import android.content.Context
import android.os.Bundle
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import jp.co.soramitsu.common.utils.inflateChild
import jp.co.soramitsu.common.view.bottomSheet.list.... | 8 | null | 30 | 89 | 1de6dfa7c77d4960eca2d215df2bdcf71a2ef5f2 | 2,056 | fearless-Android | Apache License 2.0 |
app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/model/PendingSyncDto.kt | fibelatti | 165,537,939 | false | null | package com.fibelatti.pinboard.features.posts.data.model
enum class PendingSyncDto {
ADD,
UPDATE,
DELETE,
}
| 5 | Kotlin | 10 | 95 | c6ff28fea78b4785ea02eace40f5811c83e8e14a | 121 | pinboard-kotlin | Apache License 2.0 |
content-types/content-types-core-services/src/main/kotlin/org/orkg/contenttypes/domain/actions/IdentifierUpdater.kt | TIBHannover | 197,416,205 | false | {"Kotlin": 5947467, "Cypher": 219508, "Python": 4881, "Shell": 2767, "Groovy": 1936, "HTML": 240, "Batchfile": 82} | package org.orkg.contenttypes.domain.actions
import org.orkg.common.ContributorId
import org.orkg.common.ThingId
import org.orkg.contenttypes.domain.associateIdentifiers
import org.orkg.contenttypes.domain.identifiers.Identifier
import org.orkg.graph.domain.GeneralStatement
import org.orkg.graph.input.LiteralUseCases
... | 0 | Kotlin | 0 | 4 | d09fafc9a4bd996623c9c5b198aa16160485d144 | 1,548 | orkg-backend | MIT License |
presentation/src/main/java/org/lotka/xenonx/presentation/screen/register/RegisterViewModel.kt | armanqanih | 860,856,530 | false | {"Kotlin": 193158} | package org.lotka.xenon.presentation.screen.auth.register
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.MutableStateFlow
impo... | 0 | Kotlin | 0 | 0 | 760d2cfbd9854f53fd3a31f2a3f61426d8bf38f3 | 5,772 | ModernNews | Apache License 2.0 |
samples/irs-demo/src/main/kotlin/net/corda/irs/flows/ExitServerFlow.kt | evisoft | 75,185,334 | false | null | package net.corda.irs.flows
import co.paralleluniverse.fibers.Suspendable
import co.paralleluniverse.strands.Strand
import net.corda.core.crypto.Party
import net.corda.core.flows.FlowLogic
import net.corda.core.node.CordaPluginRegistry
import net.corda.core.node.NodeInfo
import net.corda.core.node.PluginServiceHub
imp... | 22 | null | 1 | 1 | 4a9f5cafc1f2f09e8f612a09f30f9dfffd985a6c | 2,485 | corda | Apache License 2.0 |
compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/extended/RedundantNullableChecker.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.fir.analysis.checkers.extended
import org.jetbrains.kotlin.diagnostics.Diagnosti... | 178 | null | 5771 | 48,021 | 093e432a97b4e7af469bc55a3d321dec964bc6de | 1,908 | kotlin | Apache License 2.0 |
src/main/kotlin/com/github/jk1/ytplugin/commands/model/CommandAssistResponse.kt | dzham | 269,710,984 | true | {"Kotlin": 191555, "CSS": 2865, "Java": 2255} | package com.github.jk1.ytplugin.commands.model
import com.google.gson.JsonParser
import java.io.InputStream
import java.io.InputStreamReader
/**
* Main wrapper around youtrack command assist response response. It delegates further parsing
* to CommandHighlightRange, CommandSuggestion and CommandPreview classes
*/
... | 0 | null | 0 | 0 | afe997a05dfb240616b5758f5a0d0c2bcc3199e2 | 1,086 | youtrack-idea-plugin | Apache License 2.0 |
ospf-kotlin-utils/src/main/fuookami/ospf/kotlin/utils/math/symbol/Symbol.kt | fuookami | 359,831,793 | false | {"Kotlin": 2440181, "Python": 6629} | package fuookami.ospf.kotlin.utils.math.symbol
class Symbol {
} | 0 | Kotlin | 0 | 4 | b34cda509b31884e6a15d77f00a6134d001868de | 64 | ospf-kotlin | Apache License 2.0 |
integration-tests/tests/src/test/java/com/squareup/hephaestus/test/MergeInterfacesTest.kt | rharter | 308,196,937 | true | {"Kotlin": 102770} | package com.squareup.anvil.test
import com.google.common.truth.Truth.assertThat
import com.squareup.anvil.annotations.compat.MergeInterfaces
import org.junit.Test
internal class MergeInterfacesTest {
@Test fun `contributed interfaces are merged`() {
assertThat(CompositeAppComponent::class extends AppComponentI... | 0 | Kotlin | 0 | 0 | b57fead06ee6c340d0d852d27b28d33a8115bf28 | 770 | hephaestus | Apache License 2.0 |
GoogleLensClone-main/app/src/main/java/com/acash/googlelensclone/CameraActivity.kt | yyprince334 | 394,915,814 | false | null | package com.acash.googlelensclone
import android.Manifest
import android.content.pm.PackageManager
import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.camera.core.*
import androidx.camera.lifecycle.ProcessCameraProvider
import androidx.core.content.Conte... | 0 | Kotlin | 0 | 1 | 07f79321125790aa2cf6768e1bcb1fd888534566 | 4,196 | Google-Lens-Clone | Apache License 2.0 |
app/src/main/java/com/learning/composeexample/di/MainModule.kt | kerriganlove | 578,924,719 | false | {"Kotlin": 21991} | package com.learning.composeexample.di
object MainModule {
} | 0 | Kotlin | 0 | 0 | 2d7f9fb2148b103977c16bd0652df1bdfb617e2b | 61 | ComposeExample | Apache License 2.0 |
platform/credential-store/src/credentialStore.kt | kishorechanti | 152,908,241 | false | null | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.credentialStore
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.util.text.StringUtil
import com.intellij.util.EncryptionSupport
imp... | 1 | null | 1 | 1 | 8d34b0c0c3c3b451104c1cb8a7d99c424663f6b9 | 3,296 | intellij-community | Apache License 2.0 |
library/src/test/java/io/github/anderscheow/validator/util/PredefinedRulesTest.kt | KirillAshikhmin | 408,957,823 | true | {"Kotlin": 129331, "Java": 99} | package io.github.anderscheow.validator.util
import io.github.anderscheow.validator.Validation
import io.github.anderscheow.validator.conditions.common.And
import io.github.anderscheow.validator.conditions.common.Or
import io.github.anderscheow.validator.conditions.common.matchAllRules
import io.github.anderscheow.val... | 0 | null | 0 | 0 | 56c2e490fa06e491dd782b2bab0d222507b3eaf0 | 14,028 | Validator | MIT License |
src/main/kotlin/no/nav/amt/deltaker/bff/navansatt/NavAnsattConsumer.kt | navikt | 701,285,451 | false | {"Kotlin": 255205, "PLpgSQL": 635, "Dockerfile": 173} | package no.nav.amt.deltaker.bff.navansatt
import com.fasterxml.jackson.module.kotlin.readValue
import no.nav.amt.deltaker.bff.Environment
import no.nav.amt.deltaker.bff.application.plugins.objectMapper
import no.nav.amt.lib.kafka.Consumer
import no.nav.amt.lib.kafka.ManagedKafkaConsumer
import no.nav.amt.lib.kafka.con... | 0 | Kotlin | 0 | 0 | e8b4fb5d324377fb51d952cc5a50a70102df1f0d | 1,838 | amt-deltaker-bff | MIT License |
signer/src/main/java/com/uport/sdk/signer/UportHDSigner.kt | jimjag | 205,325,614 | true | {"Kotlin": 489456, "Java": 409} | package com.uport.sdk.signer
import android.content.Context
import android.content.Context.MODE_PRIVATE
import com.uport.sdk.signer.encryption.KeyProtection
import me.uport.sdk.core.decodeBase64
import me.uport.sdk.core.padBase64
import me.uport.sdk.core.toBase64
import me.uport.sdk.signer.getUncompressedPublicKeyWith... | 0 | Kotlin | 0 | 0 | 6de7b9351cdc0a99cc63ee9c1a8bda5040cc14d3 | 12,691 | uport-android-signer | Apache License 2.0 |
src/main/java/morefirework/mod/render/entity/GunpowderPackProjectileRenderer.kt | Sparkierkan7 | 617,247,442 | false | null | package morefirework.mod.render.entity
import morefirework.mod.entity.projectile.GunpowderPackProjectile
import net.fabricmc.api.EnvType
import net.fabricmc.api.Environment
import net.minecraft.client.render.entity.EntityRendererFactory
import net.minecraft.client.render.entity.FlyingItemEntityRenderer
import net.mine... | 0 | Kotlin | 0 | 0 | 298d3b06c408b2c93ef379b4ab693905d07270a7 | 743 | more_explosives_mod | MIT License |
server/src/main/kotlin/net/eiradir/server/hud/message/NoHudMessages.kt | Eiradir | 635,460,745 | false | null | package net.eiradir.server.hud.message
enum class NoHudMessages {
} | 12 | Kotlin | 0 | 0 | fd732d283c6c72bbd0d0127bb86e8daf7e5bf3cd | 68 | eiradir-server | MIT License |
data/src/test/java/com/csosa/healiostest/data/BaseTest.kt | andrea-lab-com | 348,485,933 | false | null | package com.csosa.healiostest.data
import android.content.Context
import androidx.room.Room
import androidx.test.core.app.ApplicationProvider
import com.csosa.healiostest.data.helpers.HeliosRequestDispatcher
import com.csosa.healiostest.data.local.HealiosDatabase
import com.csosa.healiostest.data.local.dao.CommentsDao... | 0 | Kotlin | 0 | 0 | 3d86591d0e71dd7ef3fdd4ced440ee97637365d9 | 2,949 | android-mvvm | Apache License 2.0 |
app/src/main/java/com/officehunter/AppModule.kt | SonOfGillas | 792,829,985 | false | {"Kotlin": 59930} | package com.officehunter
import android.content.Context
import androidx.datastore.preferences.preferencesDataStore
import androidx.room.Room
import com.officehunter.data.database.TravelDiaryDatabase
import com.officehunter.data.remote.OSMDataSource
import com.officehunter.data.repositories.PlacesRepository
import com.... | 0 | Kotlin | 0 | 0 | a53e274f392f29b0abbf0ad02bc25806af103b15 | 2,086 | OfficeHunter | MIT License |
app/src/main/java/com/mg/relaxy/ui/home/categories/CategoryAdapter.kt | developersancho | 229,278,424 | false | null | package com.mg.relaxy.ui.home.categories
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import com.mg.relaxy.R
import com.mg.relaxy.base.BaseViewHolder
import com.mg.relaxy.databinding.ItemCategoryBinding
import com.mg... | 0 | Kotlin | 1 | 4 | 9511956d8a35008408ee80b70fd5f86595b34b1b | 1,534 | relaxy | Apache License 2.0 |
feature/common/src/main/java/com/andannn/melodify/feature/common/component/CircleBoderImage.kt | andannn | 583,624,480 | false | {"Kotlin": 367190, "Swift": 621} | package com.andannn.melodify.feature.common.component
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.border
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modi... | 9 | Kotlin | 0 | 0 | af7243371f7ab2759dea94095c8fa1bfa1707f1c | 863 | Melodify | Apache License 2.0 |
src/com/koxudaxi/htmpy/HtmpyFielViewProviderFactory.kt | pauleveritt | 288,542,769 | false | {"Kotlin": 64625, "Lex": 6725, "Java": 160} | package com.koxudaxi.htmpy
import com.intellij.lang.Language
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.psi.FileViewProvider
import com.intellij.psi.FileViewProviderFactory
import com.intellij.psi.PsiManager
class HtmpyFielViewProviderFactory : FileViewProviderFactory {
override fun createFi... | 8 | Kotlin | 0 | 1 | d2253eaa2d8a329b5757280765fb5c4586ed4797 | 731 | htmpy-pycharm-plugin | MIT License |
webglmath/src/main/kotlin/Vec4Array.kt | sracedorfman | 438,745,663 | false | null | package vision.gears.webglmath
import org.khronos.webgl.Float32Array
import org.khronos.webgl.get
import org.khronos.webgl.set
import org.khronos.webgl.WebGLRenderingContext as GL
import org.khronos.webgl.WebGLUniformLocation
import kotlin.reflect.KProperty
import kotlin.random.Random
import kotlin.math.pow
import kot... | 0 | null | 0 | 1 | 44fe7680826d154c8e85f6721f463bc2f4e615b0 | 3,508 | kogphysics | MIT License |
packages/patrol/android/src/main/kotlin/pl/leancode/patrol/contracts/HandlePermissionRequestKt.kt | leancodepl | 496,206,645 | false | null | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: contracts.proto
// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package pl.leancode.patrol.contracts;
@kotlin.jvm.JvmName("-initializehandlePermissionRequest")
public inline fun handlePermissionRequest(block: pl.... | 177 | Dart | 62 | 515 | b2872ec307a95b81b0e0b81e048dafb73770cccd | 2,389 | patrol | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/Paragraph.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Mite... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,251 | icons | MIT License |
ProjectService/app/src/main/java/me/liuqingwen/android/projectservice/MyService.kt | spkingr | 99,180,956 | false | null | package me.liuqingwen.android.projectservice
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.Service
import android.content.Intent
import android.os.Binder
import android.os.Build
import android.os.IBinder
import android.support.v4.app.NotificationCompat
import io.react... | 0 | Kotlin | 30 | 94 | 43756ad5107521e8156b0e5afa9e83fd0c20092a | 3,918 | 50-android-kotlin-projects-in-100-days | MIT License |
DemoApp/app/src/main/java/app/demo/example/com/mytemplateapplication/app/BasePresenter.kt | bonafonteGuillermo | 140,724,505 | false | {"Kotlin": 22137} | package app.demo.example.com.mytemplateapplication.app
import app.demo.example.com.mytemplateapplication.repository.IRepository
/**
* Created by <NAME>
*/
interface BasePresenter {
var repository: IRepository
fun onCreate()
fun onDestroy()
} | 0 | Kotlin | 0 | 0 | 6bba0c1e9829beab1e2c90e421eb78ffa2d1ba3a | 258 | MVP-Dagger-RxBaseProject | Apache License 2.0 |
src/main/kotlin/org/teamvoided/reef/data/ReefTags.kt | TeamVoided | 764,862,779 | false | {"Kotlin": 42738, "Java": 5106} | package org.teamvoided.reef.data
import net.minecraft.block.Block
import net.minecraft.registry.RegistryKeys
import net.minecraft.registry.tag.TagKey
import net.minecraft.world.biome.Biome
import org.teamvoided.reef.Reef.id
object ReefTags {
@JvmField
val HAS_ERODED_PILLAR = biomeTag("has_eroded_pillar")
... | 0 | Kotlin | 0 | 0 | 7c7d1612f00d67c62bcc22b35198b86818265457 | 644 | Reef | MIT License |
client/core/shared/src/commonTest/kotlin/com/oztechan/ccc/client/core/shared/util/DateUtilTest.kt | Oztechan | 102,633,334 | false | null | package com.oztechan.ccc.client.core.shared.util
import com.oztechan.ccc.common.core.infrastructure.constants.DAY
import com.oztechan.ccc.common.core.infrastructure.constants.SECOND
import kotlinx.datetime.Clock
import kotlinx.datetime.Instant
import kotlinx.datetime.TimeZone
import kotlin.test.Test
import kotlin.test... | 28 | Kotlin | 27 | 248 | ee238a8b43dcd30a4e28950b23a77656de093658 | 1,874 | CCC | Apache License 2.0 |
2017/kotlin/day7-1/src/input.kt | sgravrock | 47,810,570 | false | null | fun parseInput(input: String): List<NodeSpec> {
return input.split('\n')
.filter { it.length > 0 }
.map { parseLine(it) }
}
fun parseLine(line: String): NodeSpec {
val tokens = line.replace(",", "")
.split(' ')
val childNames = if (tokens.size > 4) {
tokens.subList(3, tokens.size)
} else {
emptyList()... | 0 | Rust | 0 | 0 | d44655f1e2ade3cecbc6b16fbda8e3bf62e5156f | 441 | adventofcode | MIT License |
src/main/kotlin/dev/sublab/hashing/hashers/Keccak.kt | sublabdev | 566,122,886 | false | {"Kotlin": 41517} | /**
*
* Copyright 2023 SUBSTRATE LABORATORY LLC <info@sublab.dev>
*
* 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... | 0 | Kotlin | 0 | 2 | cb1a09abb11df072088ed379140894d9166e647c | 2,122 | hashing-kotlin | Apache License 2.0 |
app/src/main/java/com/zipdabang/zipdabang_android/module/my/data/remote/otherinfo/OtherInfoResult.kt | zipdabang | 666,457,004 | false | {"Kotlin": 1689597} | package com.zipdabang.zipdabang_android.module.my.data.remote.otherinfo
import com.zipdabang.zipdabang_android.module.my.data.remote.otherinfo.MemberPreferCategoryDto
data class OtherInfoResult(
val caption: String,
val checkFollowing: Boolean,
val checkFollower : Boolean,
val checkSelf: Boolean,
... | 6 | Kotlin | 1 | 2 | f25196bfdb02331aad716a2fb5765f813bb40673 | 506 | android | The Unlicense |
android/src/main/java/com/coursedesign/SizePackage.kt | CourseDesign | 387,000,413 | false | {"JSON with Comments": 1, "JSON": 8, "JavaScript": 4, "Text": 1, "Ignore List": 1, "Markdown": 1, "TSX": 4, "INI": 4, "Gradle": 4, "Shell": 2, "Batchfile": 2, "XML": 9, "Kotlin": 2, "Java Properties": 1, "Java": 3, "Swift": 1, "Ruby": 1, "C": 1, "OpenStep Property List": 2, "Objective-C": 3} | package com.coursedesign
import android.view.View
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ReactShadowNode
import com.facebook.react.uimanager.ViewManager
import java.util.*
class SizePackage : ReactPackage {
override fun c... | 2 | TypeScript | 0 | 0 | 370cb52de6f5ba1bd2f055783788ecb6375f6739 | 644 | rn-system | MIT License |
extension/engine-platform-8/src/main/kotlin/org/camunda/community/process_test_coverage/engine/platform8/ZeebeModelProvider.kt | camunda-community-hub | 43,815,708 | false | {"Kotlin": 167349, "Java": 80489, "JavaScript": 6580, "HTML": 2362, "CSS": 98} | package org.camunda.community.process_test_coverage.engine.platform8
import io.camunda.zeebe.model.bpmn.Bpmn.*
import io.camunda.zeebe.model.bpmn.instance.FlowNode
import io.camunda.zeebe.model.bpmn.instance.IntermediateThrowEvent
import io.camunda.zeebe.model.bpmn.instance.LinkEventDefinition
import io.camunda.zeebe.... | 20 | Kotlin | 47 | 73 | 840e10eeccd1f075b0384ae0a90289086423883a | 3,196 | camunda-process-test-coverage | Apache License 2.0 |
app/src/main/java/com/gvkorea/gvktune/view/view/autotuning/listener/TuneButtonListener.kt | NewTurn2017 | 243,805,460 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 49, "XML": 71, "Java": 5, "Python": 33} | package com.gvkorea.gvktune.view.view.autotuning.listener
import android.view.View
import com.gvkorea.gvktune.R
import com.gvkorea.gvktune.view.view.autotuning.presenter.TunePresenter
class TuneButtonListener(val presenter: TunePresenter): View.OnClickListener {
override fun onClick(v: View?) {
when(v?.id... | 1 | null | 1 | 1 | afaa1be61f6f1cc3fb6db213aaaa081483144ce5 | 570 | GVKTUNE | MIT License |
src/main/kotlin/com/roberthorrox/apiserver/ApiserverConfig.kt | RobertHorrox | 191,661,976 | false | null | package com.roberthorrox.apiserver
import com.fasterxml.jackson.annotation.JsonProperty
import io.dropwizard.Configuration
class ApiserverConfig() : Configuration() {
@JsonProperty("template")
var template: String=""
@JsonProperty("defaultName")
var defaultName: String="Stranger"
} | 0 | Kotlin | 0 | 0 | d7deb8e285d41150c1e85f2c9f457dfb874c7b32 | 301 | KotlinDropReactive | Apache License 2.0 |
core/src/main/java/com/hrudhaykanth116/core/ui/components/AppImage.kt | hrudhaykanth116 | 300,963,083 | false | {"Kotlin": 447216} | package com.hrudhaykanth116.core.ui.components
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.runtime.Co... | 0 | Kotlin | 0 | 0 | 5672c21b3bc4d4c948fe96a5ab88f2d36c95deac | 2,442 | MAFET | MIT License |
feature-nft-impl/src/main/java/jp/co/soramitsu/nft/impl/presentation/chooserecipient/ChooseNFTRecipientPresenter.kt | soramitsu | 278,060,397 | false | null | package jp.co.soramitsu.nft.impl.presentation.chooserecipient
import android.graphics.drawable.PictureDrawable
import jp.co.soramitsu.account.api.domain.interfaces.AccountInteractor
import jp.co.soramitsu.account.api.domain.model.address
import jp.co.soramitsu.common.address.AddressIconGenerator
import jp.co.soramitsu... | 15 | null | 30 | 89 | 812c6ed5465d19a0616865cbba3e946d046720a1 | 14,559 | fearless-Android | Apache License 2.0 |
compiler/testData/diagnostics/tests/enum/EnumWOParenthesesConsistencyTopLevel.kt | JetBrains | 3,432,266 | false | null | class Context {
enum class EnumerationAAA() {
ENTRY
}
enum class EnumerationAAB() {
ENTRY;
}
enum class EnumerationAAC() {
ENTRY1,
ENTRY2;
}
enum class EnumerationAAD() {
ENTRY1,
ENTRY2();
}
enum class EnumerationAAE() {
EN... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 14,559 | kotlin | Apache License 2.0 |
statistics/src/main/java/com/duckduckgo/app/statistics/api/RefreshRetentionAtbPlugin.kt | duckduckgo | 78,869,127 | false | null | /*
* Copyright (c) 2021 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 ... | 41 | null | 671 | 2,413 | 7e23d4cc5aa890bd727d977f8ac438239915509d | 1,683 | Android | Apache License 2.0 |
project-system-gradle/testSrc/com/android/tools/idea/gradle/navigation/runsGradleVersionCatalogAndDeclarative/VersionCatalogGoToDeclarationHandlerTest.kt | JetBrains | 60,701,247 | false | {"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19} | /*
* Copyright (C) 2024 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... | 5 | Kotlin | 230 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 9,962 | android | Apache License 2.0 |
app/src/main/java/mustafaozhan/github/com/mycurrencies/ui/main/fragment/calculator/CalculatorFragment.kt | hirenpatel868 | 242,063,783 | true | {"Kotlin": 110645} | package mustafaozhan.github.com.mycurrencies.ui.main.fragment.calculator
import android.annotation.SuppressLint
import android.os.Bundle
import android.view.View
import androidx.lifecycle.Observer
import androidx.recyclerview.widget.LinearLayoutManager
import com.jakewharton.rxbinding2.widget.textChanges
import io.rea... | 0 | null | 0 | 0 | dbaf69dbbc30050f3b63e41aa4b487bff7802a86 | 11,260 | androidCCC | Apache License 2.0 |
app/src/main/java/com/xiaoxin/toolkit/repository/HitokotoRepository.kt | XiaoXin956 | 474,917,723 | false | null | package com.xiaoxin.toolkit.repository
import com.google.gson.reflect.TypeToken
import com.xiaoxin.basic.utils.GsonUtils
import com.xiaoxin.toolkit.bean.Hitokoto
class HitokotoRepository : BaseRepository() {
suspend fun getHitokoto(
url: String,
queryMap: Map<String, Any>
): Hitokoto? {
... | 0 | Kotlin | 0 | 4 | bdbf05f52535978e947e3c1f0803e0f9dc4377d2 | 903 | Toolkit | Apache License 2.0 |
walletlibrary/src/main/java/com/microsoft/walletlibrary/mappings/issuance/ClaimAttestationMapping.kt | microsoft | 567,422,889 | false | null | /**---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------... | 2 | Kotlin | 8 | 9 | 5978f33741ddf4dcd51533552487eaeb81ee6e75 | 1,065 | entra-verifiedid-wallet-library-android | MIT License |
app/src/main/java/com/example/busschedule/StopScheduleFragment.kt | S-H-U-R-A | 610,439,279 | false | null | package com.example.busschedule
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.activityViewModels
import androidx.lifecycle.coroutineScope
import androidx.lifecycle.lifecycleScope
impo... | 0 | Kotlin | 1 | 0 | 69db61c5515fea6cecc50574100d43e78f95bdc0 | 3,011 | BusSchedule-Use-ViewBinding-Flow-Room-ListAdapter-RecyclerView-Navigation | Apache License 2.0 |
src/main/java/com/jakeesveld/zoos/repo/AnimalRepository.kt | JakeEsveldDevelopment | 191,630,930 | true | {"Kotlin": 9592, "Java": 343} | package com.jakeesveld.zoos.repo
import com.jakeesveld.zoos.model.Animal
import com.jakeesveld.zoos.view.AnimalCount
import org.springframework.data.jpa.repository.Query
import org.springframework.data.repository.CrudRepository
import java.util.ArrayList
interface AnimalRepository : CrudRepository<Animal, Long> {
... | 0 | Kotlin | 0 | 0 | fe5d6cc5dadbde7120768780c9aa8672d6725eeb | 560 | java-zoos | MIT License |
api/src/commonMain/kotlin/app/meetacy/sdk/users/UserRepository.kt | meetacy | 604,657,616 | false | null | package app.meetacy.sdk.users
import app.meetacy.sdk.AuthorizedMeetacyApi
import app.meetacy.sdk.MeetacyApi
import app.meetacy.sdk.types.auth.Token
import app.meetacy.sdk.types.user.RegularUser
import app.meetacy.sdk.types.user.SelfUser
import app.meetacy.sdk.types.user.User
public sealed interface UserRepository {
... | 2 | Kotlin | 1 | 22 | 761eda8c772c1549d28312eb44040b59c101e0d2 | 781 | sdk | MIT License |
reimagined/src/main/kotlin/dev/olshevski/navigation/reimagined/NavTransitionScope.kt | olshevski | 455,126,442 | false | null | package dev.olshevski.navigation.reimagined
import androidx.compose.animation.AnimatedContentScope
import androidx.compose.animation.AnimatedContentScope.SlideDirection
import androidx.compose.animation.ContentTransform
import androidx.compose.animation.EnterTransition
import androidx.compose.animation.ExitTransition
... | 5 | null | 8 | 507 | 665ddfce244666e2a6679b9ca1a5363b49a623b7 | 4,884 | compose-navigation-reimagined | MIT License |
moove/legacy-moove/src/main/kotlin/io/charlescd/moove/legacy/moove/controller/CredentialConfigurationController.kt | ZupIT | 249,519,503 | false | null | /*
*
* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
* *
* * 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... | 93 | null | 76 | 343 | a65319e3712dba1612731b44346100e89cd26a60 | 5,388 | charlescd | Apache License 2.0 |
Recorder/src/main/java/com/team10415/ftc_recorder/Recorder.kt | team10415 | 306,190,325 | false | {"Java": 58923, "Kotlin": 55363} | package com.team10415.ftc_recorder
import android.util.Log
import com.qualcomm.robotcore.util.ReadWriteFile
import org.firstinspires.ftc.robotcore.internal.system.AppUtil
abstract class Recorder : TeleOpRunner() {
abstract val name: String
abstract val inputs: List<Record.Input>
var content = ""
ove... | 1 | null | 1 | 1 | 9b8fa829b6935ebe18e12ffbde12310bbc6beb22 | 896 | UltimateGoal | MIT License |
lib/src/main/java/graphql/nadel/engine/transform/NadelTypeRenameResultTransform.kt | atlassian-labs | 121,346,908 | false | {"Kotlin": 2134819, "Java": 8400} | package graphql.nadel.engine.transform
import graphql.introspection.Introspection
import graphql.nadel.Service
import graphql.nadel.ServiceExecutionHydrationDetails
import graphql.nadel.ServiceExecutionResult
import graphql.nadel.engine.NadelExecutionContext
import graphql.nadel.engine.blueprint.NadelOverallExecutionB... | 26 | Kotlin | 23 | 157 | e8e1b6d42c3b9858662bd5bd7727b3738ad5c1d3 | 3,305 | nadel | Apache License 2.0 |
src/testSmoke/kotlin/uk/gov/justice/hmpps/offenderevents/smoketest/SmokeTestConfiguration.kt | ministryofjustice | 232,552,985 | false | {"Kotlin": 202399, "HTML": 15034, "Shell": 3481, "Mustache": 1803, "Dockerfile": 1264} | package uk.gov.justice.digital.hmpps.indexer.smoketest
import org.springframework.beans.factory.annotation.Value
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
import org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration
import org.springfram... | 4 | Kotlin | 1 | 2 | 675d4298d1e1fce4dc1138728828d2b807325427 | 2,342 | prison-to-probation-update | MIT License |
src/main/kotlin/flavor/pie/kludge/uuids.kt | pie-flavor | 92,704,480 | false | null | package flavor.pie.kludge
import org.spongepowered.api.entity.living.player.Player
import org.spongepowered.api.entity.living.player.User
import org.spongepowered.api.profile.GameProfile
import org.spongepowered.api.profile.GameProfileManager
import org.spongepowered.api.service.user.UserStorageService
import org.spon... | 0 | Kotlin | 2 | 8 | 07c6d0a8596682e1f91639cc974430c52b0d0d78 | 1,082 | Kludge | MIT License |
di/di_dagger/di_dagger_common/src/androidMain/kotlin/siarhei/luskanau/iot/doorbell/dagger/common/CommonModule.kt | siarhei-luskanau | 79,257,367 | false | null | package siarhei.luskanau.iot.doorbell.dagger.common
import android.app.Application
import android.content.Context
import androidx.startup.AppInitializer
import androidx.work.WorkManager
import dagger.Module
import dagger.Provides
import javax.inject.Provider
import javax.inject.Singleton
import siarhei.luskanau.iot.do... | 0 | null | 0 | 2 | 801b8abab13c718fd6e383907c752e0b0425a8fc | 5,921 | android-iot-doorbell | MIT License |
teacher_app/app/src/main/java/io/github/kabirnayeem99/dumarketingadmin/presentation/view/gallery/GalleryImageFragment.kt | kabirnayeem99 | 360,781,364 | false | null | package io.github.kabirnayeem99.dumarketingadmin.presentation.view.gallery
import android.os.Bundle
import androidx.fragment.app.activityViewModels
import androidx.lifecycle.lifecycleScope
import androidx.navigation.fragment.findNavController
import androidx.recyclerview.widget.StaggeredGridLayoutManager
import dagger... | 4 | null | 2 | 5 | d07f00410c975dba19c83a959b3a5aeff9074b7a | 2,922 | du_marketing_sms | Apache License 2.0 |
app/src/main/java/dev/zezula/books/ui/screen/signin/SignInScreen.kt | zezulaon | 589,699,261 | false | {"Kotlin": 433845} | package dev.zezula.books.ui.screen.signin
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose... | 1 | Kotlin | 0 | 6 | 3ff0d9f6be840e87170f2aa76f5e7758eb4380f3 | 5,591 | my-library | Apache License 2.0 |
Android/app/src/main/java/sample/sdk/breez/page/home/sendonchain/SendOnChainAction.kt | breez | 681,972,081 | false | {"Kotlin": 132212, "Rust": 2438, "Python": 1484} | package sample.sdk.breez.page.home.sendonchain
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Button
import androidx.compose.material3.Text
import androidx.compose.material3.TextField
import androidx.compose.runtime.Composable
import... | 1 | Kotlin | 1 | 1 | 3d1d51830315e0ceb54eca79cd43d14c10ec71f4 | 2,541 | breez-sdk-examples | MIT License |
app/src/main/java/com/vultisig/wallet/ui/components/DigitString.kt | vultisig | 789,965,982 | false | {"Kotlin": 1656023, "Ruby": 1713} | package com.vultisig.wallet.ui.components
import androidx.annotation.StringRes
import androidx.compose.runtime.Composable
import androidx.compose.ui.platform.LocalContext
import com.vultisig.wallet.R
@Composable
internal fun digitStringToWords(@StringRes id: Int, vararg formatArgs: Any): String {
val resources = ... | 58 | Kotlin | 2 | 6 | 106410f378751c6ab276120fcc74c1036b46ab6e | 665 | vultisig-android | Apache License 2.0 |
app/src/main/java/com/erzhan/mystock/presentation/company_info/CompanyInfoEvent.kt | anarkulov | 510,068,982 | false | {"Kotlin": 41588} | package com.erzhan.mystock.presentation.company_info
sealed class CompanyInfoEvent {
object OnRefresh: CompanyInfoEvent()
} | 0 | Kotlin | 0 | 0 | c1d4a5057aa9df49dc970f3f87762304743a41e4 | 128 | MyStock | MIT License |
libraries/stdlib/common/src/generated/_Ranges.kt | cpovirk | 119,830,321 | true | {"Markdown": 42, "Gradle": 275, "XML": 1445, "Gradle Kotlin DSL": 126, "Java Properties": 13, "Shell": 9, "Ignore List": 10, "Batchfile": 8, "Git Attributes": 1, "Proguard": 7, "Kotlin": 36648, "Java": 5146, "Protocol Buffer": 9, "Text": 7652, "JavaScript": 235, "JAR Manifest": 2, "Roff": 207, "Roff Manpage": 26, "JSON... | @file:kotlin.jvm.JvmMultifileClass
@file:kotlin.jvm.JvmName("RangesKt")
package kotlin.ranges
//
// NOTE THIS FILE IS AUTO-GENERATED by the GenerateStandardLib.kt
// See: https://github.com/JetBrains/kotlin/tree/master/libraries/stdlib
//
import kotlin.comparisons.*
/**
* Checks if the specified [value] belongs to... | 0 | Kotlin | 0 | 1 | b6ca9118ffe142e729dd17deeecfb35badba1537 | 23,371 | kotlin | Apache License 2.0 |
app/src/main/java/com/bossed/waej/ui/ItemMsgActivity.kt | Ltow | 710,230,789 | false | {"Kotlin": 2304560, "Java": 395495, "HTML": 71364} | package com.bossed.waej.ui
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.widget.RelativeLayout
import com.blankj.utilcode.util.BarUtils
import com.blankj.utilcode.util.ToastUtils
import com.bossed.waej.R
import com.bossed.waej.base.BaseActivity
import com.bossed.waej.ht... | 0 | Kotlin | 0 | 0 | 8c2e9928f6c47484bec7a5beca32ed4b10200f9c | 5,495 | wananexiu | Mulan Permissive Software License, Version 2 |
solutions/src/test/kotlin/y2016/Y2016D05Test.kt | Jadarma | 324,646,170 | false | null | package y2016
import io.github.jadarma.aoc.test.AdventSpec
import io.kotest.core.spec.DisplayName
@DisplayName("Y2016D05 How About a Nice Game of Chess?")
class Y2016D05Test : AdventSpec(Y2016D05(), {
partOne {
"abc" shouldOutput "18f47a30"
}
partTwo {
"abc" shouldOutput "05ace8e3"
}
}... | 0 | Kotlin | 0 | 3 | 3f36fc11261dee5583947dc1e1fbaa1e7d656b47 | 322 | advent-of-code-kotlin | MIT License |
app/src/main/java/com/project_christopher/bibliotheca/Components/Preferences.kt | Project-Christopher | 389,983,234 | false | null | package com.project_christopher.bibliotheca.Components
import org.json.JSONObject
class Preferences {
class Pair(var key: String, var value: String)
var favorite = false
var state = 0
var comments = ""
val customFields = ArrayList<Pair>()
companion object {
fun parsePreferences(json... | 0 | Kotlin | 0 | 0 | fca605f7b10fbcbdb1a288ec80f7c310fa29cecb | 1,202 | android-bibliotheca | Apache License 2.0 |
app/src/main/java/com/project_christopher/bibliotheca/Components/Preferences.kt | Project-Christopher | 389,983,234 | false | null | package com.project_christopher.bibliotheca.Components
import org.json.JSONObject
class Preferences {
class Pair(var key: String, var value: String)
var favorite = false
var state = 0
var comments = ""
val customFields = ArrayList<Pair>()
companion object {
fun parsePreferences(json... | 0 | Kotlin | 0 | 0 | fca605f7b10fbcbdb1a288ec80f7c310fa29cecb | 1,202 | android-bibliotheca | Apache License 2.0 |
shared/src/commonMain/kotlin/com/czech/breakingbad/util/MessageInfoQueueUtil.kt | Czeach | 439,389,096 | false | {"Kotlin": 78963, "Swift": 345} | package com.czech.breakingbad.util
class MessageInfoQueueUtil() {
/**
* Does this particular GenericMessageInfo already exist in the queue? We don't want duplicates
*/
fun doesMessageAlreadyExistInQueue(queue: Queue<MessageInfo>, messageInfo: MessageInfo): Boolean{
for(item in queue.items){
... | 0 | Kotlin | 0 | 1 | 1375fb8b5c8e4a96212337d5bef22a7f6458be63 | 443 | Breaking-Bad | MIT License |
src/main/kotlin/me/fanhua/piggies/gui/ui/IBasePosUI.kt | imfanhua | 516,849,087 | false | {"Kotlin": 142668} | package me.fanhua.piggies.gui.ui
import me.fanhua.piggies.gui.GUISize
import org.bukkit.entity.Player
abstract class IBasePosUI(x: Int, y: Int) : IBaseUI() {
var x by observable(x)
var y by observable(y)
protected var size: GUISize? = null
override fun draw(canvas: IUICanvas) {
redraw = false
canvas.diff(x... | 0 | Kotlin | 0 | 3 | 2d84db3566dd791861c340438d5db3d7ee9cf503 | 760 | piggies | MIT License |
app/src/main/java/com/appbusters/robinpc/constitutionofindia/ui/intermediate/adapter/MiddleListAdapter.kt | kumar4Vipul | 213,992,183 | false | {"XML": 69, "Gradle": 3, "Java Properties": 2, "Text": 1, "Markdown": 1, "JSON": 4, "Proguard": 1, "Ignore List": 1, "Java": 2, "Kotlin": 83} | package com.appbusters.robinpc.constitutionofindia.ui.intermediate.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import com.appbusters.robinpc.constitutionofindia.R
import com.appbusters.robinpc.cons... | 1 | null | 1 | 1 | 82a916316ac6822023392991f1efc74ff2ed571f | 1,399 | Indian-Constitution-App | Apache License 2.0 |
supports/foundation/nativeBridge/nativeBridge-annotation/src/commonMain/kotlin/com.subscribe.nativebridge/event/EventHandler.kt | xiezhihua120 | 716,495,624 | false | {"Kotlin": 40223, "Swift": 342, "Shell": 124} | package com.subscribe.nativebridge.event
/**
* Created on 2023/9/25
* @author:xiezh
* @function:事件容器
*/
interface EventHandler {
/**
* JS处理模块
*/
val module: String
/**
* JS处理方法
*/
val method: String
/**
* 发送事件
*/
fun send(
reqId: String,
modul... | 0 | Kotlin | 0 | 0 | 6c5948c66f41f43040b6967ae4c9d62f42ac03de | 386 | KmpProject | Apache License 2.0 |
AgoraEduUIKit/src/main/java/com/agora/edu/component/teachaids/component/AgoraEduTeachAidContainerComponent.kt | AgoraIO-Community | 330,886,965 | false | null | package com.agora.edu.component.teachaids.component
import android.content.Context
import android.os.Looper
import android.util.AttributeSet
import android.view.Gravity
import android.view.LayoutInflater
import android.view.ViewGroup
import android.view.ViewTreeObserver
import android.widget.LinearLayout
import androi... | 5 | Kotlin | 19 | 8 | 9fb07495275f2da4aa0b579005c7eacfd444defb | 19,643 | CloudClass-Android | MIT License |
data/src/commonMain/kotlin/io/gaitian/telekot/data/model/InputMediaPhoto.kt | galik-ya | 668,662,208 | false | null | package io.gaitian.telekot.data.model
import kotlinx.serialization.Serializable
/**
* Represents a photo to be sent
*
* @see <a href="https://core.telegram.org/bots/api#inputmediaphoto">Telegram Bot API | InputMediaPhoto</a>
*/
@Serializable
data class InputMediaPhoto(
override val media: String,
overri... | 0 | Kotlin | 0 | 0 | fb8f376eb9f2322622aec3a4aa305fcf169a2e08 | 626 | telekot | Apache License 2.0 |
app/src/main/java/com/android/vocab/provider/bean/AntonymWord.kt | adityaDave2017 | 97,935,213 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Proguard": 1, "Java": 3, "XML": 29, "Kotlin": 24, "SQL": 1} | package com.android.vocab.provider.bean
import android.os.Parcel
import android.os.Parcelable
@Suppress("unused")
class AntonymWord(wordId: Long,
word: String,
typeId: Long,
meaning: String,
frequency: Int,
createTime: Long,
... | 1 | null | 1 | 1 | 5b760d3ac0ddbbc312a83c70f2bcf5ed727b5895 | 1,297 | my-vocab | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.