path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/example/androidarchitecturesample/ui/details/DetailFragment.kt | arononak | 236,748,515 | false | null | package com.example.androidarchitecturesample.ui.details
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.app.ShareCompat
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragmen... | 0 | Kotlin | 0 | 0 | 55612801bf8d37559b0c01aaa3a56348b7178779 | 1,921 | AndroidArchitectureSample | Apache License 2.0 |
src/main/java/io/github/hnosmium0001/actionale/core/MathUtil.kt | hnOsmium0001 | 253,158,845 | false | null | package io.github.hnosmium0001.actionale.core
import net.minecraft.client.util.math.Vector3d
fun Int.isEven() = this % 2 == 0
fun Int.isOdd() = this % 2 == 1
fun Vector3d.pointInTriangle(p1: Vector3d, p2: Vector3d, p3: Vector3d): Boolean {
val d1 = signOf(this, p1, p2)
val d2 = signOf(this, p2, p3)
val d... | 0 | Kotlin | 1 | 1 | dc6b7ca8945c2bb3659c5b4176bfe91005cb5432 | 613 | Actionale | MIT License |
src/main/java/io/github/hnosmium0001/actionale/core/MathUtil.kt | hnOsmium0001 | 253,158,845 | false | null | package io.github.hnosmium0001.actionale.core
import net.minecraft.client.util.math.Vector3d
fun Int.isEven() = this % 2 == 0
fun Int.isOdd() = this % 2 == 1
fun Vector3d.pointInTriangle(p1: Vector3d, p2: Vector3d, p3: Vector3d): Boolean {
val d1 = signOf(this, p1, p2)
val d2 = signOf(this, p2, p3)
val d... | 0 | Kotlin | 1 | 1 | dc6b7ca8945c2bb3659c5b4176bfe91005cb5432 | 613 | Actionale | MIT License |
library-no-op/src/main/java/com/chuckerteam/chucker/api/Chucker.kt | Heads-and-Hands | 303,375,123 | false | null | package com.chuckerteam.chucker.api
import android.content.Context
import android.content.Intent
/**
* No-op implementation.
*/
public object Chucker {
@JvmStatic
public fun getLaunchIntent(context: Context, screen: Int): Intent = Intent()
@JvmStatic
public fun getLaunchIntent(context: Context... | 12 | Kotlin | 0 | 0 | c4c82032e4442259654f2a8604a1f35a830736e6 | 776 | chucker-grpc-no-op | Apache License 2.0 |
app/src/main/java/com/mainstreetcode/teammate/fragments/main/TeamEditFragment.kt | tunjid | 186,313,358 | false | null | /*
* MIT License
*
* Copyright (c) 2019 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 1 | Kotlin | 24 | 133 | c44751a359eba6c10d69797872c1220c956ee2e5 | 5,903 | teammate-android | MIT License |
uiCompose/src/commonMain/kotlin/ui/MovieUiState.kt | ibenabdallah | 748,016,150 | false | {"Kotlin": 80015, "Swift": 589} | package ui
sealed interface MovieUiState<T> {
/**
* The state is loading.
*/
data object Loading : MovieUiState<Nothing>
/**
* The state was unable to load.
*/
data class Failed(val exception: Throwable = Throwable()) : MovieUiState<Nothing>
/**
* There is a success stat... | 0 | Kotlin | 1 | 65 | 0345f3547f8bfab98c0f10a80fc00c29cd8c96ca | 410 | the-movie-db | Apache License 2.0 |
currency/currency-list-ui-implementation/src/test/java/com/weilun/currency/list/ui/implementation/viewmodel/CurrencyListViewModelTest.kt | CHEN-WEI-LUN-1218 | 485,181,375 | false | {"Kotlin": 70641} | package com.weilun.currency.list.ui.implementation.viewmodel
import app.cash.turbine.test
import com.weilun.core.utils.dispatchers.DispatchersProvider
import com.weilun.currency.list.core.bridge.CurrencyDataRepository
import com.weilun.currency.list.core.bridge.model.CurrenciesSorting
import com.weilun.currency.list.c... | 0 | Kotlin | 0 | 0 | 2e1e94ae69a1873460d4431c09c41f5a4d9720a4 | 2,330 | CurrencyListDemo | Apache License 2.0 |
app/src/main/java/com/example/kleeteams/Adaptor/Aprovaldata.kt | pendlirajashekhar | 577,351,750 | false | null | package com.example.kleeteams.Adaptor
data class Aprovaldata(var contact:String,var name:String,var email:String,var module:String,var accept:String,var reject:String)
| 1 | Kotlin | 0 | 4 | 73a9a093c1654209425701a4f476363ae65df94b | 169 | android-application | MIT License |
internal-storage-file-provider/src/test/java/com/github/ai/isfprovider/data/InternalFileSystemTest.kt | aivanovski | 410,594,542 | false | {"Kotlin": 203162} | package com.github.ai.isfprovider.data
import android.content.Context
import androidx.appcompat.app.AppCompatActivity
import com.github.ai.isfprovider.entity.Result
import com.github.ai.isfprovider.entity.exception.InvalidFileTypeException
import com.github.ai.isfprovider.test.TestData.DIRECTORY_FILE
import com.github... | 0 | Kotlin | 0 | 1 | 170ce125fcee81b057e12fd5416efacca029d3ad | 5,317 | internal-storage-file-provider | Apache License 2.0 |
feature-wallet-impl/src/main/java/jp/co/soramitsu/feature_wallet_impl/data/network/blockchain/response/RuntimeVersion.kt | guangxingmao | 315,566,082 | true | {"Kotlin": 795393} | package jp.co.soramitsu.feature_wallet_impl.data.network.blockchain.response
class RuntimeVersion(val specVersion: Int, val transactionVersion: Int) | 0 | null | 0 | 0 | e4139ee7cbb9b48b4b622d6a3ddcf4a9e25dabca | 149 | fearless-Android | Apache License 2.0 |
app/src/main/java/com/ledboot/toffee/di/androidx/DaggerAndroidxFragment.kt | ledboot | 102,470,734 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 27, "Text": 8, "Ignore List": 3, "Batchfile": 2, "Markdown": 3, "Proguard": 1, "XML": 49, "Kotlin": 69, "Java": 4, "Makefile": 28, "C": 324, "C++": 1, "M4": 1, "M4Sugar": 20, "HTML": 75, "SVG": 2, "CSS": 2, "Unix Assembly": 2, "Perl": 1, "Microsoft Visual Studio Solution": 4... | package com.ledboot.toffee.di.androidx
import android.content.Context
import androidx.fragment.app.Fragment
import dagger.android.AndroidInjector
import dagger.android.DispatchingAndroidInjector
import javax.inject.Inject
abstract class DaggerAndroidxFragment : Fragment(), HasAndroidxFragmentInjector {
@Inject
... | 0 | C | 0 | 0 | e3c1fd8dd4e9f70464d36fa10c78184c6ada55f3 | 656 | Toffee | Apache License 2.0 |
idea/tests/testData/indentationOnNewline/templates/TemplateEntryOpen2.after.kt | JetBrains | 278,369,660 | false | null | fun a() {
val b = 3
val a = "${<caret>b}"
}
| 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 52 | intellij-kotlin | Apache License 2.0 |
app/src/main/java/com/droid47/petpot/organization/domain/UpdateOrganizationUseCase.kt | AndroidKiran | 247,345,176 | false | {"Kotlin": 634717, "Java": 28162, "HTML": 6053, "CMake": 1588, "C++": 520} | package com.droid47.petpot.organization.domain
import com.droid47.petpot.base.usecase.CompletableUseCase
import com.droid47.petpot.base.usecase.executor.PostExecutionThread
import com.droid47.petpot.base.usecase.executor.ThreadExecutor
import com.droid47.petpot.organization.data.models.OrganizationCheckableEntity
impo... | 1 | Kotlin | 1 | 2 | 07d9c0c4f0d5bef32d9705f6bb49f938ecc456e3 | 924 | PetPot | Apache License 2.0 |
bukkit/rpk-chat-bukkit/src/main/kotlin/com/rpkit/chat/bukkit/irc/listener/IRCChannelQuitListener.kt | RP-Kit | 54,840,905 | false | null | /*
* Copyright 2021 <NAME>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... | 51 | null | 11 | 22 | aee4060598dc25cd8e4f3976ed5e70eb1bf874a2 | 1,133 | RPKit | Apache License 2.0 |
compiler/testData/codegen/box/unit/UnitValue.kt | JakeWharton | 99,388,807 | false | null | // DONT_TARGET_EXACT_BACKEND: WASM
// WASM_MUTE_REASON: UNIT_ISSUES
fun foo() {}
fun box(): String {
return if (foo() == Unit) "OK" else "Fail"
}
| 179 | null | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 149 | kotlin | Apache License 2.0 |
package-toolkit/config/src/main/kotlin/com/atlan/pkg/config/widgets/TextInput.kt | abhishek-raghuraman | 770,236,082 | false | {"Java Properties": 1, "Gradle Kotlin DSL": 33, "Shell": 1, "EditorConfig": 1, "Markdown": 2, "Batchfile": 1, "Text": 2, "Ignore List": 1, "Kotlin": 218, "Pickle": 9, "Java": 1074, "XML": 5, "JSON": 10, "Fluent": 71, "YAML": 6, "FreeMarker": 11, "TOML": 1, "INI": 1, "Dockerfile": 2} | /* SPDX-License-Identifier: Apache-2.0
Copyright 2023 Atlan Pte. Ltd. */
package com.atlan.pkg.config.widgets
/**
* Widget that allows you to enter arbitrary text into a single-line text input field,
* and returns the value of the text that was entered.
*
* @param label name to show in the UI for the widget
* ... | 1 | null | 1 | 1 | eb8704deb1041c4b859fdf2f203610dce977718c | 1,350 | atlan-java | Creative Commons Attribution 4.0 International |
heading-example/src/main/java/com/mach1/ar/heading_example/MainFragment.kt | Shalwaban | 262,192,705 | false | {"Java": 278941, "Kotlin": 20772} | package com.mach1.ar.heading_example
//
// MainFragment.kt
// BoseWearable
//
// Created by Tambet Ingo on 02/19/2019.
// Copyright © 2019 Bose Corporation. All rights reserved.
//
import android.app.Activity
import android.os.Build
import android.os.Bundle
import android.util.Log
import android.view.Gravity
impo... | 1 | null | 1 | 1 | 3e2d580e47e1f206af7aea00e67f1faab4c114b5 | 5,135 | BoseWearable-Android-Examples | MIT License |
src/main/java/org/tokend/sdk/utils/streamer/PagedResourceStreamer.kt | tokend | 153,458,393 | false | null | package org.tokend.sdk.utils.streamer
import org.tokend.sdk.api.base.ApiRequest
import org.tokend.sdk.api.base.model.DataPage
import java.util.*
import java.util.concurrent.ExecutorService
import java.util.concurrent.Executors
import java.util.concurrent.Future
import java.util.concurrent.atomic.AtomicBoolean
/***
*... | 0 | Kotlin | 1 | 14 | 5252e7441be26091a45c8dc8a87913bb0ebd1606 | 4,258 | kotlin-sdk | Apache License 2.0 |
app/src/main/java/com/lyj/pinstagram/view/detail/adapter/DetailAdapter.kt | banziha104 | 389,872,729 | false | null | package com.lyj.pinstagram.view.detail.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.google.android.gms.maps.Cam... | 1 | Kotlin | 1 | 3 | 9d8d6015b5333eb3d2bc07ffbebe2638af2f42ac | 4,886 | pinstagram_android | MIT License |
ground/src/test/java/com/google/android/ground/MockitoKotlinHelpers.kt | google | 127,777,820 | false | null | /*
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 186 | null | 112 | 204 | 5cf918cf27736b9a9e0adfa1b0ce4239343a57d6 | 950 | ground-android | Apache License 2.0 |
compiler/testData/diagnostics/tests/jdk-annotations/ArrayListToArray.kt | chirino | 3,596,099 | false | null | package kotlin1
import java.util.*
fun main(args : Array<String>) {
val al : ArrayList<Int> = ArrayList<Int>()
// A type mismatch on this line means that jdk-annotations were not loaded
al.toArray(Array<Int>(3, {1})) : Array<Int>
}
| 0 | null | 28 | 71 | ac434d48525a0e5b57c66b9f61b388ccf3d898b5 | 247 | kotlin | Apache License 2.0 |
native/native.tests/testData/standalone/termination/globalThrow.kt | JetBrains | 3,432,266 | false | null | // EXIT_CODE: !0
// OUTPUT_REGEX: Uncaught Kotlin exception: kotlin\.Error: an error\R(?!.*FAIL.*).*
val p: Nothing = throw Error("an error")
fun main() {
println("FAIL")
} | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 178 | kotlin | Apache License 2.0 |
solve/src/commonMain/kotlin/it/unibo/tuprolog/solve/channel/impl/InputChannelFromFunction.kt | tuProlog | 230,784,338 | false | {"Kotlin": 3949669, "Java": 18690, "ANTLR": 10366, "CSS": 1535, "JavaScript": 894, "Prolog": 818} | package it.unibo.tuprolog.solve.channel.impl
import it.unibo.tuprolog.utils.synchronizedOnSelf
internal class InputChannelFromFunction<T : Any>(
private val generator: () -> T?,
private val availabilityChecker: () -> Boolean
) : AbstractInputChannel<T>() {
override val available: Boolean
get() = ... | 92 | Kotlin | 14 | 93 | 3223ffc302e5da0efe2b254045fa1b6a1a122519 | 418 | 2p-kt | Apache License 2.0 |
apina-core/src/test/kotlin/fi/evident/apina/java/reader/JavaTypeMatchers.kt | EvidentSolutions | 36,000,351 | false | null | package fi.evident.apina.java.reader
import fi.evident.apina.java.model.type.JavaType
import fi.evident.apina.java.model.type.TypeSchema
import org.hamcrest.BaseMatcher
import org.hamcrest.Description
import org.hamcrest.Matcher
import org.hamcrest.TypeSafeMatcher
import java.util.Arrays.asList
import java.util.Collec... | 9 | null | 8 | 27 | a2ab2f05bb02a4c6a562b46d2b5c64725bd7d41c | 4,261 | apina | MIT License |
app/src/main/java/jp/mihailskuzmins/sugoinihongoapp/userinterface/controls/colorbar/ColorBarBase.kt | MihailsKuzmins | 240,947,625 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 10, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 323, "XML": 156, "Java": 1, "JSON": 1} | package jp.mihailskuzmins.sugoinihongoapp.userinterface.controls.colorbar
import android.content.Context
import android.util.AttributeSet
import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout
abstract class ColorBarBase<T> : LinearLayout {
private lateinit var mKeyIndexMap: Map<T... | 1 | null | 1 | 1 | 57e19b90b4291dc887a92f6d57f9be349373a444 | 1,563 | sugoi-nihongo-android | Apache License 2.0 |
app/src/main/java/com/example/wishlist/Item.kt | TrongQuocLe | 769,314,475 | false | null | package com.example.wishlist
data class Item(val name: String, val price: Double, val url: String)
| 1 | Kotlin | 0 | 0 | b5fc6915b2cd694367eef110687b0a8fe8f522f9 | 100 | wishlist | Apache License 2.0 |
app/src/main/java/com/utkarshsapplication/app/modules/thview1/ui/ThView1Activity.kt | AnonymousCodes911 | 640,476,749 | false | {"Kotlin": 99736} | package com.utkarshsapplication.app.modules.thview1.ui
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.activity.viewModels
import com.utkarshsapplication.app.R
import com.utkarshsapplication.app.appcomponents.base.BaseActivity
import com.utkarshsapplication.app.dat... | 1 | Kotlin | 0 | 0 | efac611ed4451f637f49608c4537e296c4d39f5e | 1,320 | Milky-Wayy | MIT License |
libs/messaging/src/test/kotlin/uk/gov/justice/digital/hmpps/converter/HmppsDomainEventConverterTest.kt | ministryofjustice | 500,855,647 | false | null | package uk.gov.justice.digital.hmpps.converter
import com.fasterxml.jackson.databind.DeserializationFeature
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.databind.SerializationFeature
import com.fasterxml.jackson.databind.module.SimpleModule
import com.fasterxml.jackson.datatype.jsr31... | 5 | Kotlin | 0 | 2 | f7042c113b7cfd4d439c6c77231a1a28f93e9485 | 4,536 | hmpps-probation-integration-services | MIT License |
app/src/main/java/com/migualador/cocktails/data/datasources/alcoholic_cocktails/AlcoholicCocktailsDBDataSource.kt | migualador | 719,969,621 | false | {"Kotlin": 104396} | package com.migualador.cocktails.data.datasources.alcoholic_cocktails
import android.content.Context
import androidx.room.Room
import com.migualador.cocktails.data.datasources.alcoholic_cocktails.database.AlcoholicCocktailsDatabase
import com.migualador.cocktails.data.entities.Cocktail
import javax.inject.Inject
impor... | 0 | Kotlin | 0 | 0 | b0f6e1f996826f9b684bab4967351d53522137a9 | 951 | android-kotlin-mvvm-architecture | Apache License 2.0 |
idea/testData/intentions/addOpenModifier/destructuringDeclaration.kt | JakeWharton | 99,388,807 | false | null | // IS_APPLICABLE: false
data class Bar(val foo: Int, val bar: Int)
open class Foo {
<caret>var (foo, bar) = Bar(1, 1)
} | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 125 | kotlin | Apache License 2.0 |
src/main/kotlin/dev/arli/openapi/generator/LicenseJsonGenerator.kt | alipovatyi | 487,519,792 | false | {"Kotlin": 451322} | package dev.arli.openapi.generator
import dev.arli.openapi.model.LicenseObject
import kotlinx.serialization.json.JsonObject
import kotlinx.serialization.json.buildJsonObject
import kotlinx.serialization.json.put
internal class LicenseJsonGenerator {
fun generateLicenseJson(license: LicenseObject): JsonObject {
... | 0 | Kotlin | 1 | 1 | 3637b43dc2e255f263b559a5a80ebf80f3e78d96 | 475 | ktor-openapi | Apache License 2.0 |
SpaceX/app/src/main/java/com/iplato/spacex/ui/ListFragment.kt | devmrsmith | 276,117,504 | false | null | package com.iplato.spacex.ui
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.*
import androidx.annotation.LayoutRes
import androidx.core.net.toUri
import androidx.databinding.BindingAdapter
import an... | 0 | Kotlin | 0 | 0 | 5b83550851f51f98a93dd44cecda7d6937d4a54e | 6,560 | iplato | Apache License 2.0 |
musicplayer/src/main/java/gapp/season/musicplayer/MusicLyricResolver.kt | guangGG | 250,942,837 | false | null | package gapp.season.musicplayer
import android.graphics.Color
import android.text.SpannableString
import android.text.SpannableStringBuilder
import android.text.Spanned
import android.text.TextUtils
import android.text.style.ForegroundColorSpan
import java.text.DecimalFormat
import java.util.*
import java.util.regex.P... | 0 | Kotlin | 0 | 2 | d5d9f24c2d5325f55c81c84a0b804a21ddb1f457 | 6,720 | RoamCatX | Apache License 2.0 |
advanced/battleship-domain/src/main/kotlin/io/drevezerezh/scylla/advanced/domain/api/shot/Shot.kt | drevezerezh | 672,485,652 | false | {"Kotlin": 948680, "ANTLR": 1204} | /*
* Copyright (c) 2024 gofannon.xyz
*
* 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 agree... | 0 | Kotlin | 0 | 0 | 5b252105940bee53350039c479aabcc479f3c894 | 1,026 | scylla | Apache License 2.0 |
advanced/battleship-domain/src/main/kotlin/io/drevezerezh/scylla/advanced/domain/api/shot/Shot.kt | drevezerezh | 672,485,652 | false | {"Kotlin": 948680, "ANTLR": 1204} | /*
* Copyright (c) 2024 gofannon.xyz
*
* 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 agree... | 0 | Kotlin | 0 | 0 | 5b252105940bee53350039c479aabcc479f3c894 | 1,026 | scylla | Apache License 2.0 |
utils/jwt/src/main/kotlin/io/bluetape4k/jwt/composer/JwtComposer.kt | debop | 625,161,599 | false | {"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82} | package io.bluetape4k.jwt.composer
import io.bluetape4k.jwt.JwtConsts.HEADER_ALGORITHM
import io.bluetape4k.jwt.JwtConsts.HEADER_KEY_ID
import io.bluetape4k.jwt.JwtConsts.HEADER_TYPE_KEY
import io.bluetape4k.jwt.JwtConsts.HEADER_TYPE_VALUE
import io.bluetape4k.jwt.keychain.KeyChain
import io.bluetape4k.jwt.utils.epoch... | 0 | Kotlin | 0 | 1 | ce3da5b6bddadd29271303840d334b71db7766d2 | 4,589 | bluetape4k | MIT License |
android/app/src/main/java/de/ktbl/eikotiger/data/db/converters/StringListConverter.kt | KTBL | 375,598,306 | false | {"Git Config": 1, "Text": 2, "Markdown": 11, "Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Java": 38, "XML": 101, "Kotlin": 139, "JSON": 7, "SVG": 1, "Python": 1} | package de.ktbl.eikotiger.data.db.converters
import androidx.room.TypeConverter
/**
* Transforming a List of String to a single string.
* As delimiter a pipe ("|") is used. This is the case
* since this symbol cannot be part of a path
*/
class StringListConverter {
@TypeConverter
fun fromString(listAsStri... | 0 | Kotlin | 0 | 0 | dba3464e3d4b00ecf4c880da7f55cfc8e51da11f | 505 | icdl-tk | MIT License |
webapi-core/src/main/java/com/tuuzed/webapi/Call.kt | tuuzedarchive | 171,901,230 | false | null | package com.tuuzed.webapi
import okhttp3.Request
import java.io.IOException
interface Call<T> {
fun request(): Request
fun cancel()
fun isExecuted(): Boolean
fun isCanceled(): Boolean
@Throws(IOException::class)
fun execute(): T
fun enqueue(callback: Callback<T>)
interface Callback<... | 0 | Kotlin | 0 | 0 | 717d85a302f5b44f2805ed3faf79ac032e8c8e41 | 436 | webapi | Apache License 2.0 |
app/src/main/java/com/example/blindquotes/viewModels/CompleteQuoteViewModel.kt | xerstom | 446,820,419 | false | {"Kotlin": 24433} | package com.example.blindquotes.viewModels
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.blindquotes.rest.APIClient
import com.example.blindquotes.rest.models.CompleteQuote
import com.example.... | 0 | Kotlin | 1 | 0 | af483e0b4b8ca921cbd0aa3bef0aff89c4ce999c | 1,038 | SP_ISIMA_F2_2022_BELLEC_BOUVARD | MIT License |
src/test/kotlin/aoc22/Day16Test.kt | tom-power | 573,330,992 | false | {"Kotlin": 254717, "Shell": 1026} | package aoc22
import aoc22.Day16.part1
import aoc22.Day16.part2
import common.Input.readInput
import common.Input.readInputExample
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Tag
import org.junit.jupiter.api.Test
class Day16Test {
@Test
fun `part one example`() {
... | 0 | Kotlin | 0 | 0 | baccc7ff572540fc7d5551eaa59d6a1466a08f56 | 711 | aoc | Apache License 2.0 |
comments-app-ktor/src/commonMain/kotlin/com/crowdproj/comments/app/plugins/getLoggerProviderConf.kt | crowdproj | 508,567,511 | false | {"Kotlin": 256828, "Shell": 730, "Dockerfile": 364} | package com.crowdproj.comments.app.plugins
import com.crowdproj.comments.logging.common.CommentsLoggerProvider
import io.ktor.server.application.*
expect fun Application.getLoggerProviderConf(): CommentsLoggerProvider | 0 | Kotlin | 2 | 1 | 74c3f6df63a5f3a2e36cbb66574000fe3f399542 | 219 | crowdproj-comments | Apache License 2.0 |
.legacy/app/src/main/java/com/makentoshe/booruchan/AppActivity.kt | Makentoshe | 147,361,920 | false | null | package com.makentoshe.booruchan
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.makentoshe.booruchan.navigation.FragmentNavigator
import com.makentoshe.booruchan.screen.start.StartScreen
class AppActivity : AppCompatActivity() {
/* Uses for naviga... | 0 | Kotlin | 1 | 6 | d0f40fb8011967e212df1f21beb43e4c4ec03356 | 951 | Booruchan | Apache License 2.0 |
android/src/test/java/com/internxt/mobilesdktests/services/crypto/KeyDerivationTest.kt | internxt | 520,855,099 | false | {"Kotlin": 83733, "TypeScript": 10986, "JavaScript": 8678, "Java": 4845, "Ruby": 3689, "Objective-C": 2687, "CSS": 1336, "Objective-C++": 1141, "Swift": 288, "C": 103} | package com.internxt.mobilesdktests.services.crypto
import com.facebook.common.util.Hex
import com.internxt.mobilesdk.services.crypto.KeyDerivation
import junit.framework.TestCase.assertTrue
import org.junit.jupiter.api.Test
class KeyDerivationTest {
val SUT = KeyDerivation()
@Test
fun `Should generate a pbkdf... | 0 | Kotlin | 1 | 2 | de73ac098414ae4715120ea8cf4047254aa266d7 | 678 | mobile-sdk | MIT License |
app/src/main/java/com/samuelokello/kazihub/domain/model/worker/skill/WorkerSkillRequest.kt | OkelloSam21 | 749,782,789 | false | {"Kotlin": 304286} | package com.samuelokello.kazihub.domain.model.worker.skill
data class WorkerSkillRequest(
val skill: List<String>? = emptyList(),
)
| 0 | Kotlin | 0 | 0 | 3d621cc70c29093fb896e09ade0bb891ffdcc648 | 137 | KaziHub | MIT License |
src/main/kotlin/io/vlang/lang/psi/types/VlangBuiltinArrayTypeEx.kt | vlang | 754,996,747 | false | {"Kotlin": 1648092, "V": 250415, "Java": 68641, "Lex": 20424, "HTML": 6275} | package io.vlang.lang.psi.types
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiElement
class VlangBuiltinArrayTypeEx private constructor() : VlangStructTypeEx("array", null) {
override val moduleName: String = "builtin"
override fun toString() = "array"
override fun qualifiedName... | 4 | Kotlin | 5 | 33 | 5b05a7b1f71ef8dcd7f26425a756259081fe5122 | 1,074 | intellij-v | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/ScrollTorah.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
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.gra... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,680 | icons | MIT License |
app/src/main/kotlin/de/nickbw2003/stopinfo/more/ui/MoreMenuVersionInfoViewHolder.kt | nickbw2003 | 169,991,061 | false | null | package de.nickbw2003.stopinfo.more.ui
import android.view.View
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.RecyclerView
import de.nickbw2003.stopinfo.BuildConfig
import de.nickbw2003.stopinfo.more.data.models.MoreMenuEntry
import kotlinx.android.synthetic.main.item_view_more_menu_ve... | 0 | Kotlin | 0 | 4 | b22c4c3ac29338cab65a6061474020b03f653260 | 860 | stop-info-android | MIT License |
modules/feature/feature_notes/src/main/kotlin/kekmech/ru/feature_notes/edit/elm/NoteEditReducer.kt | tonykolomeytsev | 203,239,594 | false | null | package kekmech.ru.notes.edit.elm
import kekmech.ru.notes.edit.elm.NoteEditEvent.News
import kekmech.ru.notes.edit.elm.NoteEditEvent.Wish
import vivid.money.elmslie.core.store.Result
import vivid.money.elmslie.core.store.StateReducer
internal class NoteEditReducer :
StateReducer<NoteEditEvent, NoteEditState, Note... | 9 | null | 4 | 21 | 4ad7b2fe62efb956dc7f8255d35436695643d229 | 1,630 | mpeiapp | MIT License |
shared-test/src/main/java/com/yuriikonovalov/shared_test/fakes/usecase/FakeGetIncomeCategories.kt | yuriikonovalov | 563,974,428 | false | {"Kotlin": 872022} | package com.yuriikonovalov.shared_test.fakes.usecase
import com.yuriikonovalov.common.application.Resource
import com.yuriikonovalov.common.application.entities.category.Category
import com.yuriikonovalov.common.application.entities.category.CategoryType
import com.yuriikonovalov.common.application.usecases.GetIncomeC... | 0 | Kotlin | 0 | 0 | 8063508f836512fc8f8a0ba18f794bb895ee2449 | 742 | budgethub | MIT License |
TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/tests/MotorOpMode.kt | Dairy-Foundation | 723,515,808 | false | {"Kotlin": 109170, "Java": 72960, "Rust": 13772} | package org.firstinspires.ftc.teamcode.tests
import com.qualcomm.robotcore.eventloop.opmode.OpMode
import com.qualcomm.robotcore.eventloop.opmode.TeleOp
import com.qualcomm.robotcore.hardware.DcMotorEx
import dev.frozenmilk.dairy.calcified.Calcified
import dev.frozenmilk.dairy.calcified.hardware.motor.CalcifiedMotor
i... | 0 | Kotlin | 4 | 5 | 7b6a322a49a6a081a65cc9564d2d995632b825ba | 1,134 | Dairy | BSD 3-Clause Clear License |
src/main/kotlin/WorkerControllerVerticle.kt | chiakikame | 52,463,013 | false | null | /**
* Created by chiaki on 23/02/16.
*/
import io.vertx.core.AbstractVerticle
import io.vertx.core.DeploymentOptions
import io.vertx.core.json.JsonObject
class WorkerControllerVerticle : AbstractVerticle() {
val jobList : MutableList<Job>? = Job.randomJobs(Settings.totalJobCount).toMutableList()
var running... | 0 | Kotlin | 0 | 0 | 6d840990997c339f39358735ccf8cb51b197e2db | 2,617 | vertx-virtual-job-controller | Do What The F*ck You Want To Public License |
src/main/java/challenges/cracking_coding_interview/object_oriented_design/jigsaw/Shape.kt | MalekKamel | 342,007,920 | false | {"Kotlin": 835312} | package challenges.cracking_coding_interview.object_oriented_design.jigsaw
enum class Shape {
INNER, OUTER, FLAT;
val opposite: Shape?
get() = when (this) {
INNER -> OUTER
OUTER -> INNER
else -> null
}
} | 0 | Kotlin | 0 | 1 | 3282a5d6f1906582a8194ff3c8cf3b7530c7a16d | 265 | ProblemSolving | Apache License 2.0 |
android-app/src/main/java/com/github/aivanovski/testswithme/android/data/repository/GroupRepository.kt | aivanovski | 815,197,496 | false | {"Kotlin": 800559, "Clojure": 13655, "Shell": 1883, "Scala": 850, "Dockerfile": 375} | package com.github.aivanovski.testswithme.android.data.repository
import arrow.core.Either
import arrow.core.raise.either
import com.github.aivanovski.testswithme.android.data.api.ApiClient
import com.github.aivanovski.testswithme.android.entity.Group
import com.github.aivanovski.testswithme.android.entity.exception.A... | 0 | Kotlin | 0 | 0 | 0366b4dc9afc396dcb782c2bf1cb8ad230895a18 | 1,838 | tests-with-me | Apache License 2.0 |
app/src/main/java/com/example/movplayv3/data/model/RelationType.kt | Aldikitta | 514,876,509 | false | {"Kotlin": 850016} | package com.example.movplayv3.data.model
enum class RelationType {
Similar, Recommended
}
| 1 | Kotlin | 12 | 77 | 8344e2a5cf62289c2b56494bf4ecd5227e26de31 | 95 | MovplayV3 | Apache License 2.0 |
domain/src/main/kotlin/ru/cinema/domain/episode/PutEpisodeFilesUseCase.kt | alexBlack01 | 541,182,433 | false | {"Kotlin": 279406, "Procfile": 34} | package ru.cinema.domain.episode
import ru.cinema.domain.common.error.EpisodeNotFound
import ru.cinema.domain.common.error.UploadFileFailure
import ru.cinema.domain.common.usecase.UseCase
import ru.cinema.domain.common.utils.ImageUtils
import ru.cinema.domain.episode.model.EpisodeContentForm
import ru.cinema.domain.im... | 0 | Kotlin | 0 | 0 | 97e1909d029b245c9e1d95a70746a7483073107b | 1,624 | cinema-backend | Apache License 1.1 |
app/src/main/java/alirezat775/carouselview/sample/SampleAdapter.kt | alirezat775 | 191,942,627 | false | null | package alirezat775.carouselview.sample
import alirezat775.carouselview.R
import alirezat775.lib.carouselview.CarouselAdapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import kotlinx.android.synthetic.main.item_carousel.view.*
import kotlin... | 4 | null | 38 | 252 | 1be136d5c65275dd78e20c81ed62f4c9ac3fb5eb | 2,464 | carousel-view | Apache License 2.0 |
app/src/main/java/sime3134/github/io/wheredidiputthat/view/storage/ViewStorageItemAdapter.kt | sime3134 | 674,783,989 | false | {"Kotlin": 127032} | package sime3134.github.io.wheredidiputthat.view.storage
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import androidx.core.view.doOnLayout
import androidx.recyclerview.widget.RecyclerView
import sime3134.github.... | 0 | Kotlin | 0 | 0 | b3900cd675e188fc5ae901281c127e1fd407a83d | 2,697 | WhereDidIPutThat | MIT License |
features/tv/src/main/java/com/hrudhaykanth116/tv/domaintemp/DeleteMyTvUseCase.kt | hrudhaykanth116 | 300,963,083 | false | {"Kotlin": 479412} | package com.hrudhaykanth116.tv.domaintemp
import com.hrudhaykanth116.core.data.models.DataResult
import com.hrudhaykanth116.tv.data.repositories.tv.MyTvListRepository
import javax.inject.Inject
import javax.inject.Singleton
@Singleton
class DeleteMyTvUseCase @Inject constructor(
private val myTvListRepository: My... | 0 | Kotlin | 0 | 0 | 964a07bdcdaf5405c76c44823a4814cf800287ab | 494 | MAFET | MIT License |
src/main/kotlin/com/skillw/asaka/core/ir/ast/StmBlock.kt | Glomzzz | 798,614,862 | false | {"Kotlin": 350706, "ANTLR": 52594} | package com.skillw.asaka.core.ir.ast
sealed class BlockNodeKind(open val body: MethodBlock) : Node(source = body.label.source), MethodBlock by body
open class BlockNode(override val body: MethodBlock) : BlockNodeKind(body) {
override fun serialize() = body.serialize()
override fun clone(blc: MethodBlock): Bl... | 0 | Kotlin | 0 | 1 | 08f5e1370b19445569e090cbdb50a27dddd0c600 | 1,871 | Asaka | MIT License |
app/src/main/java/com/pokerio/app/utils/ThemeUtils.kt | poker-io | 610,675,009 | false | null | package com.pokerio.app.utils
import androidx.compose.material3.ColorScheme
import androidx.compose.ui.graphics.Color
object ThemeUtils {
val lightColorScheme = ColorScheme(
primary = Color(0.2627451f, 0.36862746f, 0.5686275f),
onPrimary = Color(1.0f, 1.0f, 1.0f),
primaryContainer = Color(... | 4 | Kotlin | 0 | 0 | 23d0f5ad12cc2c3f2ac6c4acbe469544224ec2c4 | 2,025 | pokerio-android | MIT License |
plugin/src/main/kotlin/com/github/bric3/excalidraw/editor/ExcalidrawActionPanel.kt | bric3 | 376,308,974 | false | null | package com.github.bric3.excalidraw.editor
import com.intellij.openapi.actionSystem.ActionGroup
import com.intellij.openapi.actionSystem.ActionManager
import java.awt.BorderLayout
import javax.swing.JComponent
import javax.swing.JPanel
class ExcalidrawActionPanel : JPanel(BorderLayout()) {
private val leftToolbar... | 18 | Kotlin | 1 | 33 | 7ea75d704802aed912e499b7ec7347a1847d6921 | 791 | excalidraw-jetbrains-plugin | MIT License |
library/base32/src/commonMain/kotlin/io/matthewnelson/component/encoding/base32/Base32.kt | 05nelsonm | 422,489,504 | false | null | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... | 4 | null | 5 | 33 | 04062dabb25e2530e2560ffc44992b1984069d69 | 14,525 | encoding | Apache License 2.0 |
crypto/src/main/java/com/example/crypto/wrapper/primitive/PrimitiveWrapper.kt | emadabdalrahman | 476,863,370 | false | {"Kotlin": 39294} | package com.example.crypto.wrapper
import com.example.crypto.wrapper.primitive.*
interface PrimitiveWrapper :
ByteWrapper,
CharWrapper,
StringWrapper,
BooleanWrapper,
IntWrapper,
LongWrapper,
ShortWrapper,
DoubleWrapper,
FloatWrapper {
fun fromPrimitive(obj: Any, type: Class<*>... | 0 | Kotlin | 0 | 0 | a87e46c20146106ad2a07c88f6ede038b758af45 | 403 | crypto | MIT License |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/BrandTidal.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.tabler.tabler.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.Round
import androidx.compose.ui.graphics... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 2,078 | compose-icon-collections | MIT License |
library/src/androidTest/java/com/awareframework/android/sensor/barometer/ExampleInstrumentedTest.kt | awareframework | 142,576,321 | false | null | package com.awareframework.android.sensor.barometer
import android.support.test.InstrumentationRegistry
import android.support.test.runner.AndroidJUnit4
import com.awareframework.android.core.db.Engine
import com.awareframework.android.sensor.barometer.model.BarometerData
import org.junit.Assert.assertEquals
import or... | 0 | Kotlin | 0 | 0 | 7920525b829680a33837532823ca91f78485ec7c | 1,216 | com.awareframework.android.sensor.barometer | Apache License 2.0 |
core/src/main/java/com/atech/core/utils/BitAppScope.kt | aiyu-ayaan | 489,575,997 | false | {"Kotlin": 825828} | /*
* Created by aiyu
* Copyright (c) 2021 . All rights reserved.
* BIT App
*
*/
package com.atech.core.utils
import javax.inject.Qualifier
/**
* BIT APP scope
*
* @author Ayaan
*/
@Retention(AnnotationRetention.RUNTIME)
@Qualifier
annotation class BitAppScope | 12 | Kotlin | 5 | 17 | dccefe88ebe261ea6298944a84ae8d90eaab23bd | 277 | BIT-App | MIT License |
app/src/main/java/com/fsyy/listener/logic/network/UserService.kt | happyfsyy | 292,861,842 | false | null | /*
* 项目名:Listener
* 作者:@happy_fsyy
* 联系我:https://github.com/happyfsyy
* Copyright (c) 2020. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
* Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
* Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
* P... | 0 | Kotlin | 0 | 0 | a954386b0202d17f2942bfb894f9ad37eba87d7f | 716 | Listener | MIT License |
app/src/main/java/com/geniusapk/dishdiscovery/ApiService.kt | GeniusApk | 768,319,372 | false | {"Kotlin": 15120} | package com.geniusapk.dishdiscovery
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import retrofit2.http.GET
// Retrofit setup for making API calls
private val retrofit = Retrofit.Builder().baseUrl("https://www.themealdb.com/api/json/v1/1/")
.addConverterFactory(GsonConverterFac... | 0 | Kotlin | 0 | 0 | 7a3b49aef1d43b2a55332327966c34c0dd9dcea8 | 565 | Dish-Discovery | MIT License |
app/src/main/java/com/geniusapk/dishdiscovery/ApiService.kt | GeniusApk | 768,319,372 | false | {"Kotlin": 15120} | package com.geniusapk.dishdiscovery
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import retrofit2.http.GET
// Retrofit setup for making API calls
private val retrofit = Retrofit.Builder().baseUrl("https://www.themealdb.com/api/json/v1/1/")
.addConverterFactory(GsonConverterFac... | 0 | Kotlin | 0 | 0 | 7a3b49aef1d43b2a55332327966c34c0dd9dcea8 | 565 | Dish-Discovery | MIT License |
src/main/kotlin/FyydService.kt | mfietz | 71,707,708 | false | null | package de.mfietz.fyydlin
import io.reactivex.rxjava3.core.Single
import retrofit2.http.GET
import retrofit2.http.Query
interface FyydService {
@GET("search/podcast")
fun searchPodcasts(@Query("term") term: String,
@Query("count") limit: Int?): Single<FyydResponse>
}
| 0 | Kotlin | 2 | 0 | e1d25f347641fe5e26c4c2b9756d4e9001a398dd | 304 | fyydlin | Apache License 2.0 |
app/src/main/java/com/example/weather_android_app/ui/weather/TodayWeatherFragment.kt | Jenil-Vekaria | 385,270,047 | false | null | package com.example.weather_android_app.ui.weather
import android.os.Bundle
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
impor... | 0 | Kotlin | 0 | 0 | 037c19222cff3e9fcaf7d5ec516a6d183daa0935 | 5,861 | Weather-Android-App | MIT License |
feature-account-impl/src/main/java/io/novafoundation/nova/feature_account_impl/presentation/paritySigner/sign/show/di/ShowSignParitySignerModule.kt | novasamatech | 415,834,480 | false | null | package io.novafoundation.nova.feature_account_impl.presentation.paritySigner.sign.show.di
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import dagger.Module
import dagger.Provides
import dagger.multibindings.IntoMap
import io.novafoundation.nova.... | 19 | null | 5 | 9 | 651db6927cdc6ff89448c83d451c84bda937e9fc | 4,149 | nova-wallet-android | Apache License 2.0 |
app/src/main/java/com/himanshoe/charty/ui/StackBarChartDemo.kt | hi-manshu | 523,070,772 | false | null | package com.himanshoe.charty.ui
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.runt... | 18 | Kotlin | 36 | 645 | 050fa400cb41716195fe01f16f3b5325e674972b | 2,645 | Charty | Apache License 2.0 |
app/src/main/java/com/bravedroid/navigation/ViewTransactionFragment.kt | BraveDroid | 230,634,137 | false | null | package com.bravedroid.navigation
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import kotlinx.android.synthetic.main.fragment_view_transaction.*
class View... | 10 | Kotlin | 2 | 2 | abe626aae8d2c54321e4dcf628b9f77a19d25426 | 883 | NavigationPlayground | The Unlicense |
android/src/main/kotlin/com/pravera/flutter_foreground_task/models/ForegroundTaskOptions.kt | Dev-hwang | 359,384,192 | false | {"Dart": 108743, "Kotlin": 90063, "Swift": 39284, "Ruby": 2231, "Objective-C": 1025} | package com.pravera.flutter_foreground_task.models
import android.content.Context
import org.json.JSONObject
import com.pravera.flutter_foreground_task.PreferencesKey as PrefsKey
data class ForegroundTaskOptions(
val eventAction: ForegroundTaskEventAction,
val autoRunOnBoot: Boolean,
val autoRunOnMyPackag... | 1 | Dart | 107 | 149 | 9c9a51eebbdd0d36437305253710d62d454afdfc | 5,002 | flutter_foreground_task | MIT License |
aesi/src/main/kotlin/com/virtlink/editorservices/documentation/IDocumentationProviderService.kt | Virtlink | 90,153,785 | false | {"Git Config": 1, "Diff": 1, "Markdown": 1139, "Text": 2, "Ignore List": 19, "Makefile": 3, "YAML": 3, "Gradle": 21, "INI": 6, "Kotlin": 221, "Handlebars": 1, "Shell": 1, "ANTLR": 2, "XML": 5, "Maven POM": 7, "JAR Manifest": 4, "Java": 60, "Gemfile.lock": 1, "Ruby": 1, "SCSS": 1, "JSON with Comments": 2, "JSON": 6} | package com.virtlink.editorservices.documentation
import com.virtlink.editorservices.ICancellationToken
import com.virtlink.editorservices.codecompletion.ICompletionProposal
import com.virtlink.editorservices.symbols.ISymbol
import java.net.URI
/**
* Provides the documentation for a symbol.
*/
interface IDocumentat... | 1 | null | 1 | 1 | f7af2531913d9809f3429c0d8e3a82fb695d5ba4 | 1,247 | aesi | Apache License 2.0 |
affogato-unit/src/main/java/com/parsuomash/affogato/unit/window/FoldingFeature.kt | ghasemdev | 510,960,043 | false | null | package com.parsuomash.affogato.unit.window
import android.content.res.Configuration
import android.content.res.Resources
import android.graphics.Rect
import androidx.compose.runtime.Composable
import androidx.compose.ui.geometry.Size
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.DpSize
import and... | 0 | Kotlin | 1 | 9 | f1944a97416221855060a954b539fbd87b74033b | 4,742 | affogato | MIT License |
lib/sisyphus-gson-protobuf/src/main/kotlin/com/bybutter/sisyphus/protobuf/gson/MessageTypeAdapterFactory.kt | ButterCam | 264,589,207 | false | null | package com.bybutter.sisyphus.protobuf.gson
import com.bybutter.sisyphus.protobuf.Message
import com.bybutter.sisyphus.protobuf.ProtoReflection
import com.bybutter.sisyphus.protobuf.ProtoTypes
import com.bybutter.sisyphus.protobuf.ProtobufDefinition
import com.bybutter.sisyphus.protobuf.findMessageSupport
import com.b... | 9 | null | 10 | 92 | 1f9851c7c45030fa08e018e961110851e029f940 | 2,711 | sisyphus | MIT License |
app/src/debug/java/com/healthmetrix/myscience/feature/dashboard/di/DebugEntryPoint.kt | smart4health | 593,624,354 | false | null | package com.healthmetrix.myscience.feature.dashboard.di
import androidx.datastore.core.DataStore
import com.healthmetrix.myscience.feature.login.LoginSettings
import com.healthmetrix.myscience.feature.login.usecase.GetPseudonymUseCase
import com.healthmetrix.myscience.feature.login.usecase.LogOutUseCase
import dagger.... | 0 | Kotlin | 0 | 1 | b18ef21ef3ae24f2a0bcace9cf6b5279ab6746e2 | 710 | my-science-app | MIT License |
cell-adapter/src/main/java/ru/whalemare/celladapter/cell/Cell.kt | ziacto | 93,988,824 | true | {"Kotlin": 3811, "Java": 2303} | package ru.whalemare.celladapter.cell
import android.support.annotation.LayoutRes
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
/**
* @since 2017
* @author <NAME> - whalemare
*/
abstract class Cell<V : Cell.ViewHolder, in D>(... | 0 | Kotlin | 0 | 0 | e83a013653c9c5848fae4a08b728047e63217a73 | 860 | cell-adapter | Apache License 2.0 |
features/tvshows/src/main/java/com/andhiratobing/moviecompose/tvshows/data/datasource/DataSourceImpl.kt | andhiratobing | 443,302,737 | false | {"Kotlin": 69028} | package com.andhiratobing.moviecompose.tvshows.data.datasource
import android.content.Context
import com.andhiratobing.abstraction.utils.Utils
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject
class DataSourceImpl @Inject constructor(
@ApplicationContext val context: Context,
) :... | 0 | Kotlin | 0 | 1 | 05495ac44369f5fa11b3b23236f18b65b2241c62 | 521 | movie-compose | Apache License 2.0 |
coil-base/src/test/java/coil/fetch/HttpUriFetcherTest.kt | yschimke | 415,521,848 | true | {"Kotlin": 652859, "Shell": 1301} | package coil.fetch
import android.content.Context
import android.os.NetworkOnMainThreadException
import android.webkit.MimeTypeMap
import androidx.core.net.toUri
import androidx.test.core.app.ApplicationProvider
import coil.ImageLoader
import coil.decode.DataSource
import coil.decode.FileImageSource
import coil.decode... | 0 | null | 0 | 0 | b885054d88b4642093f8ca502e389d309a9bc577 | 8,142 | coil | Apache License 2.0 |
PeduliLindungi/app/src/main/java/com/capstoneproject/ui/adapter/HistoryViewAdapter.kt | B21-CAP0179 | 371,296,282 | false | {"Kotlin": 36403} | package com.capstoneproject.ui.adapter
import android.net.Uri
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.capstoneproject.R
import com.capstoneproject.databinding.ItemScreeningHistoryBinding
import com.capstonepro... | 8 | Kotlin | 0 | 0 | 8cef940a5ef6ed8c8008505803f4ae9501240b60 | 2,058 | BIAS-android-client | MIT License |
judokit-android/src/main/java/com/judopay/judokit/android/ui/cardentry/validation/carddetails/StateValidator.kt | Judopay | 261,378,339 | false | {"Kotlin": 961167, "Ruby": 8369} | package com.judopay.judokit.android.ui.cardentry.validation.carddetails
import com.judopay.judokit.android.R
import com.judopay.judokit.android.model.Country
import com.judopay.judokit.android.model.canadaProvincesAndTerritories
import com.judopay.judokit.android.model.usStates
import com.judopay.judokit.android.ui.ca... | 1 | Kotlin | 5 | 4 | d24fd23f06f39594ec40ae81a1f6c726bd29496c | 1,532 | JudoKit-Android | MIT License |
src/main/kotlin/mrs/domain/repository/user/UserRepository.kt | tetsuyaokuyama0312 | 358,807,098 | false | null | package mrs.domain.repository.user
import mrs.domain.model.User
import org.springframework.data.jpa.repository.JpaRepository
/**
* ユーザーのリポジトリインタフェース。
*/
interface UserRepository : JpaRepository<User, String> | 0 | Kotlin | 0 | 0 | be7c84ff21ed1dae4849254fc15a609bffae644a | 211 | kotlin-mrs | MIT License |
platform/platform-api/src/com/intellij/openapi/rd/GraphicsEx.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2019 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.openapi.rd
import com.intellij.ui.paint.LinePainter2D
import com.intellij.ui.paint.RectanglePainter2D
import java.awt.*
fun Graphics2D.fill2DRect(rect: Rec... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 1,092 | intellij-community | Apache License 2.0 |
src/jvmTest/kotlin/TorrentSearchTests.kt | DrewCarlson | 324,843,687 | false | null | package torrentsearch
import io.ktor.client.HttpClient
import io.ktor.client.plugins.contentnegotiation.*
import io.ktor.client.plugins.cookies.AcceptAllCookiesStorage
import io.ktor.client.plugins.cookies.HttpCookies
import io.ktor.client.plugins.defaultRequest
import io.ktor.http.userAgent
import io.ktor.serializati... | 6 | null | 0 | 9 | da804b0473cf27c714d030235acd92d186a9beed | 2,058 | TorrentSearch-Kotlin | MIT License |
api/src/main/kotlin/de/hypercdn/ticat/api/endpoints/data/search/Search.kt | HyperCDN | 543,352,274 | false | null | package de.hypercdn.ticat.api.endpoints.data.search
import de.hypercdn.ticat.api.entities.helper.entities.sql.isAuthenticated
import de.hypercdn.ticat.api.entities.helper.repositories.getLoggedInElse403
import de.hypercdn.ticat.api.entities.helper.repositories.getLoggedInOrFallbackElse403
import de.hypercdn.ticat.api.... | 0 | Kotlin | 0 | 0 | ef445bb1b3cdbb9dac7272ca68f377c803ad963f | 5,083 | TiCat | Apache License 2.0 |
inference/inference-core/src/jvmMain/kotlin/io/kinference.core/operators/ml/svm/SvmMode.kt | JetBrains-Research | 244,400,016 | false | {"Kotlin": 2301067, "Python": 4774, "JavaScript": 2402, "Dockerfile": 683} | package io.kinference.core.operators.ml.svm
internal enum class SvmMode {
SVC,
LINEAR
}
| 7 | Kotlin | 7 | 154 | d98a9c110118c861a608552f4d18b6256897ccad | 97 | kinference | Apache License 2.0 |
Data/src/main/kotlin/strixpyrr/eagleeye/data/ingest/IngestAggregator.kt | NightEule5 | 326,633,918 | false | null | // Copyright 2021 Strixpyrr
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... | 0 | Kotlin | 0 | 0 | 6bad0d6396f6cf03c6b96210113a5996b51e82c1 | 2,232 | EagleEye | Apache License 2.0 |
core/src/main/kotlin/ru/mobileup/core/widget/SmContainedButton.kt | MobileUpLLC | 495,342,634 | false | {"Kotlin": 206427} | package ru.mobileup.core.widget
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.Button
import androidx.compose.material.ButtonDefaults
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
imp... | 0 | Kotlin | 1 | 1 | 717fec2a43e5e9314b7ffe0d3aaa94047b6ca229 | 1,474 | Education-Space-Android | MIT License |
app/src/main/java/com/github/kongpf8848/animation/activity/tween/rotate/MusicActivity.kt | kongpf8848 | 254,021,972 | false | null | package com.github.kongpf8848.animation.activity.tween.rotate
import android.os.Bundle
import android.os.Looper
import android.view.animation.Animation
import android.view.animation.AnimationUtils
import android.view.animation.LinearInterpolator
import com.github.kongpf8848.animation.R
import com.github.kongpf8848.ani... | 2 | null | 78 | 455 | 4230a3e6db05f746671368212b461a4e248cbfef | 1,009 | Animation | Apache License 2.0 |
src/main/kotlin/de/darkatra/vrising/discord/command/ValidationException.kt | DarkAtra | 500,198,988 | false | null | package de.darkatra.vrising.discord.command
class ValidationException(message: String) : RuntimeException(message)
| 4 | Kotlin | 2 | 8 | 051aaa99387c49f9fef6513d1f9f75c9de427ce7 | 116 | v-rising-discord-bot | MIT License |
app/src/main/java/com/example/kotlinglang/d_exercicios_logica/Ex19.kt | johnnymeneses | 527,025,619 | false | {"Kotlin": 101138} | package d_exercicios_logica/*
Alguns países medem temperaturas em graus Celsius, e outros em graus Fahrenheit. Faça um algoritmo para ler uma temperatura Celsius e imprimi-Ia em Fahrenheit (pesquise como fazer este tipo de conversão).
*/
| 0 | Kotlin | 0 | 0 | 81adfdad80400ece05a66d49dc7aeea7d107a68b | 241 | kotlin-lang | MIT License |
admob/src/main/java/com/allever/lib/ad/admob/AdMobInsert.kt | devallever | 220,405,258 | false | {"Java": 122044, "Kotlin": 107945} | package com.allever.lib.ad.admob
import android.view.ViewGroup
import com.allever.lib.ad.AdListener
import com.allever.lib.ad.BaseAd
import com.allever.lib.common.app.App
import com.allever.lib.common.util.log
import com.allever.lib.common.util.toast
import com.google.android.gms.ads.AdRequest
import com.google.androi... | 1 | null | 1 | 1 | fe3e144df62174c1d8c7b36f42d808b5053fc11d | 1,750 | AndroidAdLibs | Apache License 2.0 |
nlp/front/storage-mongo/target/generated-sources/kapt/compile/ai/tock/nlp/front/shared/namespace/NamespaceConfiguration_.kt | theopenconversationkit | 84,538,053 | false | {"Kotlin": 6173880, "TypeScript": 1286450, "HTML": 532576, "Python": 376720, "SCSS": 79512, "CSS": 66318, "Shell": 12085, "JavaScript": 1849} | package ai.tock.nlp.front.shared.namespace
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Collection
import kotlin.collections.Map
import kotlin.reflect.KProperty1
import org.litote.kmongo.property.KCollectionPropertyPath
import org.litote.kmongo.property.KMapPropertyPath
import org.litote.kmong... | 163 | Kotlin | 127 | 475 | 890f69960997ae9146747d082d808d92ee407fcb | 3,913 | tock | Apache License 2.0 |
src/main/kotlin/com/github/malayP/decorations/block/machine/machine/Sprinkler.kt | MalayPrime | 379,254,123 | false | null | package com.github.malayP.decorations.block.machine.machine
import com.github.malayP.decorations.block.machine.consumer.CentrifugeTileEntityRender
import com.github.malayP.decorations.modResourcesLocation
import com.github.malayP.decorations.register.AllTileEntity
import com.github.malayP.decorations.register.AllTileE... | 0 | Kotlin | 1 | 1 | 111cf27428c1580b91602a384bb46cd0988415cd | 6,822 | rotarism-decorations | MIT License |
core/ui/src/main/java/com/muammarahlnn/learnyscape/core/ui/LoadingDialog.kt | muammarahlnn | 663,132,195 | false | {"Kotlin": 1077954} | package com.muammarahlnn.learnyscape.core.ui
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.AlertDialog
import android... | 0 | Kotlin | 0 | 0 | 1a6aafc8a84cd2cbe54b7b64c6ec937c2c8c5580 | 1,409 | Learnyscape | Apache License 2.0 |
concurrency/src/main/kotlin/me/gegenbauer/catspy/concurrency/ScopeDomain.kt | Gegenbauer | 609,809,576 | false | null | package me.gegenbauer.catspy.concurrency
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineExceptionHandler
import kotlinx.coroutines.CoroutineName
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Deferred
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.... | 3 | null | 4 | 23 | a868d118c42a9ab0984bfd51ea845d3dcfd16449 | 4,865 | CatSpy | Apache License 2.0 |
src/main/kotlin/com/sourcegraph/cody/statusbar/CodyManageAccountsAction.kt | sourcegraph | 702,947,607 | false | {"Kotlin": 690009, "Java": 152855, "TypeScript": 5588, "Shell": 4631, "Nix": 1122, "JavaScript": 436, "HTML": 294} | package com.sourcegraph.cody.statusbar
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.options.ShowSettingsUtil
import com.sourcegraph.cody.config.ui.AccountConfigurable
import com.sourcegraph.common.ui.DumbAwareEDTAction
class CodyManageAccountsAction : DumbAwareEDTAction("Manage A... | 358 | Kotlin | 22 | 67 | 437e3e2e53ae85edb7e445b2a0d412fbb7a54db0 | 487 | jetbrains | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.