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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
px-checkout/src/main/java/com/mercadopago/android/px/internal/audio/SelectPaymentSoundUseCase.kt | ETS-Android5 | 497,641,294 | true | {"Java Properties": 1, "Markdown": 7, "Gradle": 15, "Shell": 1, "INI": 4, "YAML": 2, "Batchfile": 1, "Text": 1, "Ignore List": 7, "Proguard": 5, "XML": 228, "Kotlin": 655, "Java": 446, "JSON": 45, "HTML": 309, "JavaScript": 14, "CSS": 6, "SVG": 2, "Python": 2} | package com.mercadopago.android.px.internal.audio
import com.mercadopago.android.px.internal.base.CoroutineContextProvider
import com.mercadopago.android.px.internal.base.use_case.UseCase
import com.mercadopago.android.px.internal.callbacks.Response
import com.mercadopago.android.px.internal.repository.PaymentSettingR... | 0 | Java | 0 | 0 | 99f1433c4147dfd8646420fefacc688f23fc390f | 1,290 | px-android | MIT License |
chats/src/main/java/com/cyberland/messenger/chats/privatechat/ContactCardShareForwardActivity.kt | Era-CyberLabs | 576,196,269 | false | {"Java": 6276144, "Kotlin": 5427066, "HTML": 92928, "C": 30870, "Groovy": 12495, "C++": 6551, "CMake": 2728, "Python": 1600, "AIDL": 1267, "Makefile": 472} | package com.bcm.messenger.chats.privatechat
import android.os.Bundle
import androidx.fragment.app.Fragment
import com.bcm.messenger.chats.R
import com.bcm.messenger.chats.group.logic.GroupMessageLogic
import com.bcm.messenger.chats.privatechat.logic.MessageSender
import com.bcm.messenger.common.ARouterConstants
import... | 1 | null | 1 | 1 | 65a11e5f009394897ddc08f4252969458454d052 | 5,660 | cyberland-android | Apache License 2.0 |
strings/src/test/kotlin/PigLatinTest.kt | gyoge0 | 528,445,664 | false | {"Java": 231909, "Kotlin": 26585} | // <NAME> APCS 2022-23
package com.gyoge.apcs
import com.gyoge.apcs.PigLatin.pig
import org.junit.jupiter.api.Nested
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
@Suppress("SpellCheckingInspection")
class PigLatinTest {
@Test
fun `pig to igpay`() = assertEquals(
"igpay",
p... | 1 | null | 1 | 1 | 9c97d3e36e32f319700f346f627b0ebfc7c23509 | 2,774 | APCS | MIT License |
server/engine/src/main/kotlin/io/rsbox/server/engine/net/http/HttpUtil.kt | qatar-prog | 758,639,769 | false | {"INI": 3, "Gradle Kotlin DSL": 14, "Shell": 1, "Java Properties": 1, "Git Attributes": 1, "Markdown": 1, "Batchfile": 1, "Text": 1, "Ignore List": 1, "Kotlin": 122, "Java": 546, "XML": 5} | package io.rsbox.server.engine.net.http
import io.netty.buffer.Unpooled
import io.netty.channel.ChannelFutureListener
import io.netty.channel.ChannelHandlerContext
import io.netty.handler.codec.http.DefaultFullHttpResponse
import io.netty.handler.codec.http.HttpHeaderNames
import io.netty.handler.codec.http.HttpRespon... | 1 | null | 1 | 1 | 58d6086e3318170a069c9a4985d06e068b853535 | 1,953 | rsbox | Apache License 2.0 |
server/engine/src/main/kotlin/io/rsbox/server/engine/net/http/HttpUtil.kt | qatar-prog | 758,639,769 | false | {"INI": 3, "Gradle Kotlin DSL": 14, "Shell": 1, "Java Properties": 1, "Git Attributes": 1, "Markdown": 1, "Batchfile": 1, "Text": 1, "Ignore List": 1, "Kotlin": 122, "Java": 546, "XML": 5} | package io.rsbox.server.engine.net.http
import io.netty.buffer.Unpooled
import io.netty.channel.ChannelFutureListener
import io.netty.channel.ChannelHandlerContext
import io.netty.handler.codec.http.DefaultFullHttpResponse
import io.netty.handler.codec.http.HttpHeaderNames
import io.netty.handler.codec.http.HttpRespon... | 1 | null | 1 | 1 | 58d6086e3318170a069c9a4985d06e068b853535 | 1,953 | rsbox | Apache License 2.0 |
compose-designer/src/com/android/tools/idea/compose/preview/animation/AnimationInspectorPanel.kt | TrellixVulnTeam | 571,897,700 | true | {"Text": 355, "EditorConfig": 2, "Markdown": 64, "Shell": 32, "Ignore List": 193, "XML": 13507, "Starlark": 142, "Kotlin": 6746, "Java": 8085, "Gradle": 2753, "Proguard": 169, "INI": 72, "JSON": 80, "Graphviz (DOT)": 1, "Ant Build System": 2, "Protocol Buffer": 8, "Java Properties": 166, "HTML": 67, "Batchfile": 20, "G... | /*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | null | 0 | 0 | b373163869f676145341d60985cdbdaca3565c0b | 44,086 | android_74FW | Apache License 2.0 |
m2-h1/src/test/kotlin/ru/yegorpilipenko/otus/spring/m2h1/controller/BookControllerTest.kt | nao4j | 158,942,958 | false | {"Java": 372709, "Kotlin": 153881, "HTML": 56806, "Dockerfile": 710} | package ru.yegorpilipenko.otus.spring.m2h1.controller
import com.nhaarman.mockito_kotlin.any
import com.nhaarman.mockito_kotlin.doReturn
import com.nhaarman.mockito_kotlin.verify
import com.nhaarman.mockito_kotlin.whenever
import org.assertj.core.api.WithAssertions
import org.junit.jupiter.api.BeforeEach
import org.ju... | 1 | null | 1 | 1 | a3074a5e1d999a64703dd644df9a354d15ad531b | 4,213 | spring-otus | MIT License |
app/src/main/java/com/bitwindow/aacpaginginfinitescrollingwithnetworksample/repository/MovieRepository.kt | asheshb | 150,709,173 | false | {"Gradle": 3, "Java Properties": 1, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Text": 1, "INI": 1, "Proguard": 1, "Kotlin": 20, "XML": 13, "Java": 1} | package com.bitwindow.aacpaginginfinitescrollingwithnetworksample.repository
import android.arch.paging.DataSource
import com.bitwindow.aacpaginginfinitescrollingwithnetworksample.data.database.MovieDao
import com.bitwindow.aacpaginginfinitescrollingwithnetworksample.data.vo.ErrorCode
import com.bitwindow.aacpaginginf... | 0 | Kotlin | 18 | 75 | 8f49aa7338bf5899d07a65dfeea1ad933a089bb9 | 3,739 | AACPagingInfiniteScrollingWithNetworkSample | Apache License 2.0 |
app/src/main/java/com/ly/wvp/record/CloudRecordListViewModel.kt | orchingly | 712,343,355 | false | {"Gradle Kotlin DSL": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 61, "XML": 91, "Java": 34} | package com.ly.wvp.record
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.ly.wvp.auth.HttpConnectionClient
import com.ly.wvp.auth.NetError
import com.ly.wvp.auth.NetError.Companion.OK
import com.ly.wvp.auth.ResponseBody... | 0 | Java | 2 | 6 | 4e901264076aad188b00e524bd69db5a8f432c18 | 7,029 | wvp-android | MIT License |
transektcount/src/main/java/com/wmstein/transektcount/DummyActivity.kt | wistein | 54,684,722 | false | {"Gradle": 3, "Java Properties": 2, "Text": 43, "Markdown": 4, "Proguard": 1, "XML": 77, "Java": 8, "Kotlin": 53, "SQL": 8} | /*
* Copyright (c) 2016 - 2023. <NAME>, Bonn, Germany.
*/
package com.wmstein.transektcount
import android.content.Intent
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
/*************************************************************************************
* Dummy a... | 0 | Java | 2 | 5 | 98247ec88090e1fcefba1052aea99773a2db7ce6 | 1,496 | TransektCount_1.2.1 | Apache License 2.0 |
carddrawer/src/test/java/com/meli/android/carddrawer/model/LabelTest.kt | mercadolibre | 188,052,798 | false | {"Gradle": 7, "YAML": 3, "Markdown": 2, "Text": 2, "Java Properties": 1, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "INI": 2, "Proguard": 2, "Kotlin": 96, "XML": 83, "Java": 29} | package com.meli.android.carddrawer.model
import org.junit.Assert
import org.junit.Before
import org.junit.Test
class LabelTest {
private lateinit var label: Label
private val text by lazy { "test" }
private val backgroundColor by lazy { "#FFFFFF" }
private val color by lazy { "#000000" }
private... | 1 | null | 1 | 1 | ceae49fefe8e358a8a86620416a5c653aa49389b | 1,493 | meli-card-drawer-android | Apache License 2.0 |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/GamepadTrigger.kt | Harshiv15 | 687,957,027 | false | {"Java": 96570, "Kotlin": 24864} | package org.firstinspires.ftc.teamcode.util.extractions
import com.arcrobotics.ftclib.command.button.Trigger
import com.arcrobotics.ftclib.gamepad.GamepadEx
import com.arcrobotics.ftclib.gamepad.GamepadKeys
class GamepadTrigger(gamepad: GamepadEx, vararg triggers: GamepadKeys.Trigger) : Trigger() {
private val m_... | 1 | null | 1 | 1 | 7e2e65cb34555d8112d3dc5c3852c658326ff315 | 688 | FGCGB23 | BSD 3-Clause Clear License |
app/src/main/java/com/ruideraj/secretelephant/match/MatchAppSettingsDialog.kt | ruideraj | 153,840,048 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 48, "XML": 34, "Java": 1} | package com.ruideraj.secretelephant.match
import android.app.Dialog
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.provider.Settings
import androidx.appcompat.app.AlertDialog
import androidx.fragment.app.DialogFragment
import com.ruideraj.secretelephant.R
class MatchAppSe... | 0 | Kotlin | 0 | 0 | 63480ca46fb7511268a65813da42dc75ef3d4166 | 1,146 | SecretElephant | Apache License 2.0 |
app/src/main/java/com/payu/android/front/sdk/demo/ui/base/binding/BindingUtils.kt | PayU-EMEA | 752,993,019 | false | {"Gradle": 18, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Text": 4, "Ignore List": 15, "Batchfile": 1, "XML": 100, "Proguard": 13, "Java": 454, "YAML": 2, "Kotlin": 85, "INI": 1} | package com.payu.android.front.sdk.demo.ui.base.binding
import androidx.databinding.Observable
import io.reactivex.disposables.Disposables
inline fun <reified T : Observable> T.addOnPropertyChanged(crossinline callback: (T) -> Unit) =
object : Observable.OnPropertyChangedCallback() {
override fun ... | 0 | Java | 0 | 0 | 9e55091062f6d942abeeeebc77bf05108849aead | 541 | PayU-Android | Apache License 2.0 |
android/src/main/java-v10/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapViewManager.kt | SethArchambault | 691,662,818 | true | {"JavaScript": 116, "Markdown": 57, "Ruby": 4, "Java Properties": 3, "Proguard": 1, "Java": 157, "Kotlin": 90, "TypeScript": 44, "Shell": 3, "Batchfile": 2, "INI": 4, "C++": 7, "Makefile": 1, "Objective-C": 186, "Swift": 76, "C": 1} | package com.mapbox.rctmgl.components.mapview
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ThemedReactContext
import com.facebook.react.uimanager.ViewManagerDelegate
import com.facebook.react.viewmanagers.MBXAndroidTextureMapViewManagerDelegate
import com.facebook.react.v... | 0 | null | 0 | 0 | d7936936bab2edea6cc803092c5f96bd56806d61 | 1,397 | maps | MIT License |
app/src/main/java/br/com/renancsdev/dtiblog/api/model/Postagem.kt | RenanCostaSilva | 805,452,810 | false | {"Gradle Kotlin DSL": 3, "Java Properties": 5, "Shell": 1, "Text": 1, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "TOML": 1, "Proguard": 1, "Ignore List": 2, "Kotlin": 36, "XML": 39, "INI": 3, "Java": 2, "PureBasic": 2} | package br.com.renancsdev.dtiblog.api.model
import java.util.Date
data class Postagem (
val id : Long,
val title : String,
val postText : String,
val dateCreationPost : Date
) | 0 | Java | 0 | 0 | c7d4d383be74b652bfda2242f06e8c2e7a33cec7 | 193 | DTIBlog | Apache License 2.0 |
src/main/kotlin/no/digdir/fdk/mqa/dcatvalidator/configuration/KafkaProducerConfig.kt | Informasjonsforvaltning | 615,214,940 | false | {"YAML": 15, "Ignore List": 2, "Maven POM": 1, "Dockerfile": 1, "Text": 2, "Markdown": 1, "Shell": 3, "JSON": 2, "Turtle": 6, "Kotlin": 15, "Java": 4, "XML": 1} | package no.digdir.fdk.mqa.dcatvalidator.configuration
import no.fdk.mqa.MQAEvent
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.kafka.core.KafkaTemplate
import org.springframework.kafka.core.ProducerFactory
@Configuration
open ... | 5 | Java | 0 | 0 | dd18b813fd2ab0cc00405790515a222d45c448ee | 526 | fdk-mqa-dcat-validator | Apache License 2.0 |
app/src/main/java/com/erif/quickstates/helper/adapter/AdapterList.kt | eriffanani | 490,252,694 | false | {"Java": 27838, "Kotlin": 15184} | package com.erif.quickstates.helper.adapter
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.erif.quickstates.R
class AdapterList: RecyclerView.Adapter<RecyclerView.ViewHolder>()... | 1 | null | 1 | 1 | 40a14f2cee94f10c37728b316485f7db22f413d8 | 998 | QuickState | Apache License 2.0 |
clients/kotlin/generated/src/test/kotlin/org/openapitools/client/models/CreateModerationRequestTest.kt | oapicf | 529,246,487 | false | {"Markdown": 6348, "YAML": 73, "Text": 16, "Ignore List": 52, "JSON": 1138, "Makefile": 3, "JavaScript": 1042, "F#": 585, "XML": 468, "Shell": 47, "Batchfile": 10, "Scala": 2313, "INI": 31, "Dockerfile": 17, "Maven POM": 22, "Java": 6356, "Emacs Lisp": 1, "Haskell": 39, "Swift": 263, "Ruby": 555, "OASv3-yaml": 19, "Cab... | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.openapitools.client.models
import i... | 2 | Java | 0 | 4 | c04dc03fa17b816be6e9a262c047840301c084b6 | 1,153 | openapi-openai | MIT License |
src/test/java/tech/aroma/data/sql/SQLActivityRepositoryIT.kt | RedRoma | 49,801,579 | false | {"Java": 611943, "Kotlin": 356709} | package tech.aroma.data.sql
/*
* Copyright 2017 RedRoma, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 1 | null | 1 | 1 | 4c8818c6a85c6f70b819ad86482fef058d0c0fd4 | 4,938 | aroma-data-operations | Apache License 2.0 |
filepickerlib/src/main/java/com/zql/filepickerlib/picker/FileListViewModel.kt | lzqnet | 342,170,311 | false | {"Java": 182286, "Kotlin": 63156} | package com.zql.filepickerlib.picker
import android.annotation.SuppressLint
import android.content.Context
import android.util.Log
import com.airbnb.mvrx.MvRxViewModelFactory
import com.airbnb.mvrx.ViewModelContext
import com.zql.filepickerlib.DefaultIconProvider
import com.zql.filepickerlib.BaseViewModel
import com.z... | 1 | null | 1 | 1 | 9290eea428526c9fb9285e5f7fae6ec011ea9163 | 8,566 | lzqfilepicker | Apache License 2.0 |
Common/src/main/java/at/petrak/hexcasting/api/spell/mishaps/MishapUnescapedValue.kt | floatonfire | 566,158,079 | true | {"Java Properties": 2, "Groovy": 1, "Text": 3, "Gradle": 5, "Shell": 1, "Markdown": 2, "Git Attributes": 1, "Batchfile": 1, "Ignore List": 1, "Kotlin": 183, "Java": 293, "JSON": 988, "GLSL": 1, "YAML": 1, "HTML": 1, "Python": 1, "INI": 3, "TOML": 1} | package at.petrak.hexcasting.api.spell.mishaps
import at.petrak.hexcasting.api.misc.FrozenColorizer
import at.petrak.hexcasting.api.spell.DatumType
import at.petrak.hexcasting.api.spell.SpellDatum
import at.petrak.hexcasting.api.spell.SpellList
import at.petrak.hexcasting.api.spell.Widget
import at.petrak.hexcasting.a... | 0 | null | 0 | 0 | c5c7b302d2b34d3fa1367bae390c985bc1bf45c0 | 1,352 | hexmod-fork | MIT License |
Kotiln/security/chapter02/exercise05/src/main/kotlin/com/example/exercise05/Exercise05Application.kt | bekurin | 558,176,225 | false | {"Git Config": 1, "Text": 12, "Ignore List": 96, "Markdown": 58, "YAML": 55, "JSON with Comments": 2, "JSON": 46, "HTML": 104, "robots.txt": 6, "SVG": 10, "TSX": 15, "CSS": 64, "Gradle Kotlin DSL": 107, "Shell": 72, "Batchfile": 71, "HTTP": 15, "INI": 112, "Kotlin": 682, "EditorConfig": 1, "Gradle": 40, "Java": 620, "J... | package com.example.exercise05
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class Exercise05Application
/**
* authenticationManager 를 사용하여 authenticationProvider 를 임의로 설정할 수 있다.
* AuthenticationManager -> AuthenticationPro... | 0 | Java | 0 | 2 | ede7cdb0e164ed1d3d2ee91c7770327b2ee71e4d | 551 | blog_and_study | MIT License |
151004/Bashlikov/rv_task03/publisher/src/main/kotlin/api/dto/request/UpdateTagDto.kt | eucalypt63 | 794,491,864 | true | {"Markdown": 7, "Batchfile": 35, "Java": 2875, "INI": 97, "TypeScript": 88, "SQL": 17, "C#": 1729, "Go": 20, "Java Properties": 17, "Dockerfile": 9, "HTML": 3, "Shell": 9, "PHP": 90, "JavaScript": 4, "Gradle Kotlin DSL": 32, "Kotlin": 519, "Java Server Pages": 19, "CSS": 5, "HTML+Razor": 6} | package by.bashlikovvv.api.dto.request
import by.bashlikovvv.util.inRange
import kotlinx.serialization.Serializable
import kotlin.jvm.Throws
@Serializable
data class UpdateTagDto @Throws(IllegalArgumentException::class) constructor(
val id: Long,
val name: String
) {
init {
require(name.inRange(2... | 0 | Java | 0 | 0 | f858e2a964bbda47bac057cede8ced3287221573 | 335 | Distributed-Computing | MIT License |
deprecated/Tools/DaggerRxJavaProject/app/src/main/java/ca/six/demo/biz/splash/SplashPresenter.kt | songzhw | 57,045,008 | false | {"Java": 363640, "Kotlin": 128659, "JavaScript": 2528, "Groovy": 417} | package ca.six.demo.biz.splash
class SplashPresenter {
} | 1 | null | 1 | 1 | 8c4d47221a56b2e9d96e20419013900de20ec77c | 58 | AndroidArchitecture | Apache License 2.0 |
app/src/main/java/com/goldze/mvvmhabit/aioui/test/TestBRvBindingAdapter.kt | fengao1004 | 505,038,355 | false | {"Java Properties": 2, "Gradle": 6, "Shell": 1, "Markdown": 2, "Git Attributes": 1, "Batchfile": 1, "Text": 4, "Ignore List": 4, "Proguard": 3, "Java": 214, "XML": 141, "Kotlin": 158} | package com.goldze.mvvmhabit.aioui.test
import android.annotation.SuppressLint
import android.text.TextUtils
import androidx.databinding.Observable
import androidx.databinding.ObservableInt
import androidx.databinding.ViewDataBinding
import com.goldze.mvvmhabit.aioui.Util.delHTMLTag
import com.goldze.mvvmhabit.aioui.b... | 1 | null | 1 | 1 | 1099bd7bfcf8a81d545567ae875b3528aa5fb1cd | 1,697 | AIO | Apache License 2.0 |
app/src/main/java/ru/hse/miem/ros/ui/fragments/intro/IntroViewPagerAdapter.kt | mkolpakov2002 | 713,131,056 | true | {"Java Properties": 2, "Gradle": 4, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Ignore List": 5, "Gradle Kotlin DSL": 2, "Kotlin": 239, "XML": 102, "HTML": 219, "JavaScript": 1, "CSS": 1, "INI": 2, "Proguard": 3, "Java": 160, "JSON": 1} | package ru.hse.miem.ros.ui.fragments.intro
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.viewpager.widget.PagerAdapter
import ru.hse.miem.ros.R
/**
* TODO: Descrip... | 0 | Java | 0 | 0 | 6c12490c1bbc62e3918ea525c51ec188f07dee24 | 1,786 | ROS-Mobile-Android | MIT License |
chats/src/main/java/com/cyberland/messenger/chats/components/CountDownTimerProgressBar.kt | Era-CyberLabs | 576,196,269 | false | {"Java": 6276144, "Kotlin": 5427066, "HTML": 92928, "C": 30870, "Groovy": 12495, "C++": 6551, "CMake": 2728, "Python": 1600, "AIDL": 1267, "Makefile": 472} | package com.bcm.messenger.chats.components
import android.content.Context
import android.os.Build
import android.os.CountDownTimer
import android.util.AttributeSet
import android.widget.ProgressBar
/**
* bcm.social.01 2019/1/25.
*/
class CountDownTimerProgressBar:ProgressBar {
private var countDownTimer: CountD... | 1 | null | 1 | 1 | 65a11e5f009394897ddc08f4252969458454d052 | 1,684 | cyberland-android | Apache License 2.0 |
app/ui/legacy/src/test/java/com/mail/ann/ViewTestExtensions.kt | ZhangXinmin528 | 516,242,626 | true | {"INI": 1, "Shell": 6, "Gradle": 30, "EditorConfig": 1, "Markdown": 8, "Git Attributes": 1, "Batchfile": 1, "Text": 44, "Ignore List": 4, "Git Config": 1, "XML": 399, "YAML": 6, "Kotlin": 744, "AIDL": 2, "Java": 433, "Java Properties": 1, "SVG": 67, "PostScript": 1, "JSON": 23, "E-mail": 27, "Proguard": 1} | package com.mail.ann
import android.widget.TextView
val TextView.textString: String
get() = text.toString()
| 0 | Java | 0 | 0 | 3efc82014d57307996329fd057c505d2b88ed044 | 114 | Ann-mail | Apache License 2.0 |
sample/src/main/java/jp/co/cyberagent/android/gpuimage/sample/App.kt | hotdl | 557,762,954 | true | {"Java Properties": 1, "Markdown": 5, "Gradle": 4, "Shell": 1, "Batchfile": 1, "Ignore List": 1, "Python": 1, "INI": 2, "Text": 2, "XML": 9, "CMake": 1, "C": 1, "Java": 96, "GLSL": 3, "Kotlin": 24} | package jp.co.cyberagent.android.gpuimage.sample
import android.app.Application
import jp.co.cyberagent.android.gpuimage.sample.utils.AppUtil
class App : Application() {
override fun onCreate() {
super.onCreate()
AppUtil.app = this
}
} | 0 | Java | 0 | 0 | 8439bd2c15bf69fcd59c99e6b6098eabf313cded | 261 | android-gpuimage | Apache License 2.0 |
src/test/kotlin/com/ort/howlingwolf/domain/model/ability/AbilityTest.kt | t-nonomura | 243,423,460 | false | {"Batchfile": 28, "Markdown": 2, "Kotlin": 198, "INI": 4, "Java": 325, "Java Properties": 4, "Shell": 20, "HTML": 4, "SQL": 4, "Perl": 3, "Python": 1} | package com.ort.howlingwolf.domain.model.ability
import com.ort.dbflute.allcommon.CDef
import com.ort.howlingwolf.HowlingWolfTest
import com.ort.howlingwolf.domain.model.village.VillageDays
import com.ort.howlingwolf.domain.model.village.VillageStatus
import com.ort.howlingwolf.domain.model.village.ability.VillageAbil... | 1 | null | 1 | 1 | 5b2222e505cb7ba6c760d8d5a667facfd0998efa | 10,583 | howling-wolf-api | MIT License |
aoc-library/src/main/kotlin/com/capital7software/aoc/lib/graph/path/DigitalPlumber.kt | vjpalodichuk | 732,520,514 | false | {"Gradle Kotlin DSL": 11, "Markdown": 8, "Java Properties": 1, "Shell": 1, "Text": 256, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "INI": 1, "YAML": 2, "Java": 225, "Kotlin": 184, "JSON": 5, "XML": 1} | package com.capital7software.aoc.lib.graph.path
import com.capital7software.aoc.lib.graph.Graph
import com.capital7software.aoc.lib.string.clean
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings
import java.util.Properties
/**
* Walking along the memory banks of the stream, you find a small village that is e... | 0 | Java | 0 | 0 | da28d59b406f2e7e18cb32ade0d828a590d896c2 | 5,075 | advent-of-code | Apache License 2.0 |
src/main/kotlin/dev/uten2c/rainstom/damage/DamageScaling.kt | rainbootsmc | 615,412,698 | false | {"Gradle Kotlin DSL": 7, "XML": 2, "Markdown": 3, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "Java": 1152, "TOML": 1, "INI": 1, "JSON": 6, "Kotlin": 25, "YAML": 1} | package dev.uten2c.rainstom.damage
enum class DamageScaling(val serializedName: String) {
NEVER("never"),
WHEN_CAUSED_BY_LIVING_NON_PLAYER("when_caused_by_living_non_player"),
ALWAYS("always"),
;
companion object {
@JvmStatic
fun fromSerializedName(serializedName: String): DamageSc... | 0 | Java | 0 | 0 | ad563506f615e7417a61c112fb8430107a5199e9 | 402 | rainstom.old | Apache License 2.0 |
snowplow-tracker/src/androidTest/java/com/snowplowanalytics/snowplow/screenviews/ScreenSummaryStateMachineTest.kt | snowplow | 20,056,757 | false | {"Gradle": 6, "Java Properties": 1, "Markdown": 5, "Shell": 2, "Text": 1, "Ignore List": 5, "Batchfile": 1, "INI": 2, "YAML": 4, "Proguard": 4, "XML": 28, "Java": 4, "Kotlin": 303} | /*
* Copyright (c) 2015-present Snowplow Analytics Ltd. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at http://www.ap... | 1 | null | 1 | 1 | fa694a5687e5eee6536f2e79a8eb105f622ce9e3 | 7,267 | snowplow-android-tracker | Apache License 2.0 |
app/src/main/java/com/hudson/wanandroid/data/entity/wrapper/BaseResult.kt | HudsonAndroid | 278,809,991 | false | {"Gradle": 3, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 6, "Kotlin": 99, "XML": 36, "Java": 10} | package com.hudson.wanandroid.data.entity.wrapper
/**
* Created by Hudson on 2020/7/11.
*/
open class BaseResult {
var errorCode : Int = -1
var errorMsg: String = ""
override fun toString(): String {
return "BaseResult(errorCode=$errorCode, errorMsg='$errorMsg')"
}
open fun isSuccess()... | 1 | Kotlin | 1 | 0 | 815bc87fb476849295faeff10dba60a55ac1c25b | 368 | WanAndroidJetpack | Apache License 2.0 |
app/src/main/java/com/etologic/pointscorer/app/main/activity/MainActivityViewModelFactory.kt | ernestovega | 131,583,223 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "JSON": 1, "Proguard": 1, "Java": 2, "XML": 47, "Kotlin": 33} | package com.etologic.pointscorer.app.main.activity
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.etologic.pointscorer.data.repositories.players.PlayersRepository
import javax.inject.Inject
class MainActivityViewModelFactory
@Inject internal constructor(private val playersR... | 0 | Kotlin | 0 | 0 | a711f9cafd7c4785f1c5562ec75004a0f748d9c8 | 546 | PointScorer | MIT License |
yandex_smart_home/src/main/java/ru/hse/miem/yandex_smart_home/capabilities/Toggle.kt | mkolpakov2002 | 713,131,056 | true | {"Java Properties": 2, "Gradle": 4, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Ignore List": 5, "Gradle Kotlin DSL": 2, "Kotlin": 239, "XML": 102, "HTML": 219, "JavaScript": 1, "CSS": 1, "INI": 2, "Proguard": 3, "Java": 160, "JSON": 1} | package ru.hse.miem.yandex_smart_home.capabilities
data class Toggle(var value: Boolean, var instance: ToggleFunctions) : BaseCapability("toggle") {
val state: Map<String, Any>
get() = mapOf("instance" to instance, "value" to value)
operator fun invoke(): Map<String, Any> {
return mapOf("type"... | 0 | Java | 0 | 0 | 6c12490c1bbc62e3918ea525c51ec188f07dee24 | 356 | ROS-Mobile-Android | MIT License |
src/main/java/net/ccbluex/liquidbounce/features/module/modules/combat/FastBow.kt | 2946257770 | 693,652,489 | false | {"Java": 1812636, "Kotlin": 1801560, "GLSL": 13689, "JavaScript": 9199, "HTML": 850} | /*
* LiquidBounce+ Hacked Client
* A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge.
* https://github.com/WYSI-Foundation/LiquidBouncePlus/
*/
package net.ccbluex.liquidbounce.features.module.modules.combat
import net.ccbluex.liquidbounce.event.EventTarget
import net.ccblu... | 1 | null | 1 | 1 | 4e111df6cd3ca03da3b285eb8572ef79a9ff8695 | 3,711 | VulgarSense | Apache License 2.0 |
core/src/main/kotlin/luckytree/poom/core/CoreApplication.kt | lucky-treee | 597,659,992 | false | {"Java": 84158, "Kotlin": 28435} | package luckytree.poom.core
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.context.properties.ConfigurationPropertiesScan
import org.springframework.boot.runApplication
@ConfigurationPropertiesScan
@SpringBootApplication
class CoreApplication
fun main(args: Array<... | 1 | null | 1 | 1 | 52415d08b02b89dfaf3ef5c1f8d4ee37ac2530eb | 373 | diamond | MIT License |
library/src/main/java/com/applandeo/materialcalendarview/CalendarDay.kt | Applandeo | 92,400,879 | false | {"Gradle": 5, "Markdown": 2, "Java Properties": 3, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "XML": 43, "Java": 7, "Kotlin": 32} | package com.applandeo.materialcalendarview
import android.graphics.drawable.Drawable
import androidx.annotation.ColorRes
import androidx.annotation.DrawableRes
import java.util.Calendar
data class CalendarDay(
val calendar: Calendar
) {
@ColorRes
var labelColor: Int? = null
@DrawableRes
var backg... | 30 | Kotlin | 314 | 952 | 8abaf104966ea3a76a060998ce5f74ed2589a9ee | 660 | Material-Calendar-View | Apache License 2.0 |
SDKChallengeProject/TAAS/android_basic/business/src/main/java/com/framing/business/data/BusinessApplication.kt | softwarekk | 285,520,801 | true | {"Markdown": 10, "Java Properties": 2, "Gradle": 12, "Shell": 1, "Batchfile": 1, "Ignore List": 10, "INI": 9, "Proguard": 9, "Kotlin": 104, "XML": 64, "Java": 40, "JSON": 28} | package com.framing.business.data
import com.framing.commonlib.base.CommonApplication
/*
* Des
* Author Young
* Date
*/class BusinessApplication :CommonApplication {
constructor() : super()
} | 0 | Java | 0 | 2 | 7bcadf38900d8ce23ebfdc4f69a716cd926595e8 | 204 | RTE-Innovation-Challenge-2020 | MIT License |
app/src/main/java/de/p72b/mocklation/service/setting/Setting.kt | xaxasemail | 505,387,056 | true | {"Java Properties": 2, "SVG": 2, "Gradle": 3, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 1, "Ignore List": 2, "XML": 48, "Proguard": 1, "Java": 37, "Kotlin": 5} | package de.p72b.mocklation.service.setting
import android.Manifest
import android.content.Context
import android.content.SharedPreferences
import androidx.preference.PreferenceManager
class Setting(context: Context) : ISetting {
companion object {
private const val PERMISSION_LOCATION = "PERMISSION_LOCATI... | 0 | null | 0 | 0 | e70cdac9bbbfa51312f091b65287d4efc92d15d3 | 3,209 | Mocklation | MIT License |
151004/Bashlikov/rv_task01/src/main/kotlin/by/bashlikovvv/api/dto/request/CreateEditorDto.kt | IlyaSubtilnyj | 787,986,594 | true | {"Markdown": 7, "Batchfile": 32, "Java": 2815, "INI": 93, "TypeScript": 88, "SQL": 17, "C#": 1468, "Go": 20, "Java Properties": 11, "Dockerfile": 9, "HTML": 3, "Shell": 9, "PHP": 177, "JavaScript": 4, "Gradle Kotlin DSL": 32, "Kotlin": 519, "Java Server Pages": 19, "CSS": 5, "HTML+Razor": 6} | package by.bashlikovvv.api.dto.request
import by.bashlikovvv.util.inRange
import kotlinx.serialization.Serializable
import kotlin.jvm.Throws
@Serializable
class CreateEditorDto @Throws(IllegalStateException::class) constructor(
val login: String,
val password: String,
val firstname: String,
val lastna... | 0 | Java | 0 | 0 | 40891cce5d18a78c46dd1b44f5e5b2ab4cef51ad | 722 | DC2024-01-27 | MIT License |
app/src/main/java/top/niunaijun/blackboxa/view/main/BlackBoxLoader.kt | dvc890 | 516,308,492 | true | {"Java Properties": 1, "Gradle": 10, "Shell": 1, "Markdown": 5, "Git Attributes": 1, "Batchfile": 1, "Text": 5, "Ignore List": 8, "YAML": 1, "INI": 5, "Proguard": 8, "XML": 48, "Java": 519, "HTML": 7, "AIDL": 61, "CMake": 2, "C++": 62, "C": 9, "Kotlin": 57, "Unix Assembly": 3} | package top.niunaijun.blackboxa.view.main
import android.app.Application
import android.content.Context
import android.util.Log
import de.robv.android.xposed.XC_MethodHook
import de.robv.android.xposed.XposedHelpers
import top.niunaijun.blackbox.BlackBoxCore
import top.niunaijun.blackbox.app.BActivityThread
import top... | 0 | Java | 2 | 2 | d076a60a30bfe1c2070420e102623b149eae172b | 12,049 | BlackBox | Apache License 2.0 |
editor/src/main/com/mbrlabs/mundus/editor/core/helperlines/HelperLineShape.kt | study-game-engines | 661,136,846 | true | {"INI": 2, "YAML": 2, "Gradle": 5, "Shell": 1, "XML": 3, "SVG": 1, "Markdown": 4, "Batchfile": 1, "Text": 1, "Ignore List": 1, "JSON": 2, "Java": 212, "Kotlin": 167, "GLSL": 17, "Wavefront Material": 2, "Wavefront Object": 1, "Unity3D Asset": 1} | /*
* Copyright (c) 2023. See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 0 | Java | 0 | 1 | 007d14af3f0389594f8ad3cedf488032f994e4ee | 4,676 | mundus | Apache License 2.0 |
app/src/main/java/pl/mg6/likeornot/Status.kt | mg6maciej | 81,643,752 | false | {"Gradle": 3, "INI": 2, "Shell": 7, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Java Properties": 1, "Kotlin": 28, "XML": 10, "Java": 1, "JSON": 1} | package pl.mg6.likeornot
import android.support.annotation.DrawableRes
enum class Status(@DrawableRes val imageId: Int) {
REALLY_LIKE(R.drawable.really_like),
LIKE(R.drawable.like),
MEH(R.drawable.meh),
DONT_LIKE(R.drawable.dont_like),
HATE(R.drawable.hate),
}
| 0 | Kotlin | 1 | 4 | bc19e74dd9c7ef17174eec2097fe7d50540828d8 | 284 | fluffy-octo-rotary-phone | Apache License 2.0 |
idea/testData/completion/basic/common/ExtensionInsideFunction.kt | pjvds | 11,950,273 | true | {"Markdown": 16, "XML": 473, "Ant Build System": 7, "YAML": 1, "Ignore List": 7, "Maven POM": 26, "Kotlin": 5846, "Java": 3201, "CSS": 10, "Java Properties": 10, "Gradle": 8, "Shell": 7, "Batchfile": 7, "INI": 4, "JavaScript": 47, "HTML": 42, "Text": 649, "Roff": 53, "Roff Manpage": 8, "JFlex": 3, "Makefile": 1, "JAR M... | class StrSome {
class StrOther
fun more() {
class StrInFun
fun Str<caret>
}
}
class StrMore {
class StrAbsent
}
// TIME: 1
// EXIST: String~(jet)
// EXIST: StrSome
// EXIST: StrMore
// EXIST: StrInFun
// EXIST_JAVA_ONLY: StringBuilder
// EXIST_JAVA_ONLY: StringBuffer
// ABSENT: StrAbsent | 0 | Java | 0 | 0 | aa16f0f0e8aa839cf13d07fb717df2dacf0f8082 | 308 | kotlin | Apache License 2.0 |
dsl/camel-kotlin-api/src/generated/kotlin/org/apache/camel/kotlin/components/GoogleFunctionsUriDsl.kt | orpiske | 166,656,227 | true | {"Text": 251, "Git Config": 1, "XML": 1790, "Batchfile": 4, "Shell": 21, "YAML": 70, "Maven POM": 593, "JSON": 2573, "Dockerfile": 5, "Markdown": 26, "Ignore List": 19, "Groovy": 164, "Git Attributes": 1, "Java": 21665, "Java Properties": 1066, "AsciiDoc": 1315, "INI": 22, "HTML": 151, "CSS": 2, "JavaScript": 32, "XSLT... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 0 | Java | 1 | 1 | 30bcf8b84555a952d5122db74f1aff57762946cc | 4,156 | camel | Apache License 2.0 |
idea-plugin/src/main/kotlin/com/chutneytesting/idea/runner/ChutneyJsonToTestEventConverter.kt | owerfelli | 791,217,559 | true | {"Markdown": 64, "Batchfile": 2, "Shell": 2, "Gradle Kotlin DSL": 6, "INI": 5, "Java": 984, "HTML": 64, "JavaScript": 6, "Kotlin": 241, "SQL": 4, "Java Properties": 1, "Dockerfile": 3, "CSS": 1, "TypeScript": 250} | package com.chutneytesting.idea.runner
import com.chutneytesting.idea.ChutneyUtil
import com.chutneytesting.idea.server.ChutneyServer
import com.chutneytesting.idea.server.ChutneyServerRegistry
import com.chutneytesting.idea.util.WaitUntilUtils
import com.intellij.execution.process.ProcessHandler
import com.intellij.... | 0 | null | 0 | 0 | a7b0bf69921fd29f846763ba4e67e271dbfaad13 | 6,450 | chutney | Apache License 2.0 |
src/main/java/com/pharmacy/controllers/UserController.kt | Paul-Harold | 579,331,994 | true | {"Markdown": 1, "Kotlin": 18, "Java": 14, "INI": 1, "SQL": 1} | package com.pharmacy.controllers
import com.pharmacy.database.DatabaseInstance
import com.pharmacy.models.UserModel
import com.pharmacy.utils.EncryptionUtils
import java.sql.Connection
import java.sql.PreparedStatement
import java.sql.ResultSet
import java.sql.SQLException
import java.sql.Statement
import javax.swing.... | 0 | null | 0 | 0 | dba07143d1505f7495b4be6bcdbc996176f66f71 | 8,274 | DD-Pharmacy | MIT License |
fxgl-achievement/src/main/kotlin/com/almasb/fxgl/achievement/AchievementManager.kt | shareef-ragab | 187,150,772 | true | {"Markdown": 5, "Kotlin": 223, "Java": 237, "Java Properties": 7, "CSS": 4, "JavaScript": 11, "Shell": 1} | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (<EMAIL>).
* See LICENSE for details.
*/
package com.almasb.fxgl.achievement
import com.almasb.fxgl.core.EngineService
import com.almasb.fxgl.core.Inject
import com.almasb.fxgl.core.collection.PropertyChangeListener
import com.almasb.f... | 0 | Java | 0 | 0 | 5b374d5d2183ec1a5adbf9c8008cde8811f781cb | 5,858 | FXGL | MIT License |
src/dorkbox/console/output/AnsiRenderWriter.kt | dorkbox | 25,707,709 | false | {"Gradle Kotlin DSL": 2, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 27, "INI": 1, "Java": 9} | /*
* Copyright 2023 dorkbox, 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 1 | null | 1 | 1 | 30b800de83d7cb06ecf33b0829120aea2c848e08 | 2,551 | Console | Creative Commons Zero v1.0 Universal |
platform/lang-impl/src/com/intellij/ide/workspace/configuration/NewWorkspaceWizard.kt | JetBrains | 2,489,216 | false | {"Text": 9788, "INI": 517, "YAML": 423, "Ant Build System": 11, "Batchfile": 34, "Dockerfile": 10, "Shell": 633, "Markdown": 750, "Ignore List": 141, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 260, "XML": 7904, "SVG": 4537, "Kotlin": 60205, "Java": 84268, "HTML": 3803, "Java Properties": 217, "Gradle... | // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.ide.workspace.configuration
import com.intellij.icons.ExpUiIcons
import com.intellij.ide.impl.ProjectUtil
import com.intellij.ide.util.projectWizard.WizardContext
import com.int... | 1 | null | 1 | 1 | 0d546ea6a419c7cb168bc3633937a826d4a91b7c | 2,357 | intellij-community | Apache License 2.0 |
common/src/main/java/ink/anur/pojo/rpc/meta/RpcRequestMeta.kt | anurnomeru | 253,847,320 | false | {"Maven POM": 6, "Text": 1, "Ignore List": 1, "Markdown": 2, "Kotlin": 160, "Java Properties": 4, "Java": 19, "XML": 2} | package ink.anur.pojo.rpc.meta
import java.io.Serializable
/**
* Created by <NAME> on 2020/4/7
*
* 进行一个请求
*/
class RpcRequestMeta(
/**
* 请求时直接指定 bean 名字来 RPC_REQUEST,可以不指定
*/
val requestBean: String?,
/**
* 此请求的接口
*/
val requestInterface: String,
/**
* 此请求的方法唯一标志
... | 1 | null | 1 | 1 | e4a8d8115ce62d829e7462664b3475640db98643 | 504 | Kanashi-RPC | MIT License |
database/database-symbol-processor/src/test/kotlin/ru/tinkoff/kora/database/symbol/processor/jdbc/repository/AllowedResultsRepository.kt | slutmaker | 577,901,564 | true | {"Java Properties": 1, "YAML": 7, "Gradle": 79, "Shell": 2, "EditorConfig": 1, "Markdown": 23, "Batchfile": 1, "Text": 2, "Ignore List": 1, "Java": 989, "Kotlin": 358, "XML": 7, "JSON": 17, "INI": 10, "SQL": 3, "OASv3-yaml": 6, "OASv2-yaml": 1, "Mustache": 31, "Protocol Buffer": 1, "JavaScript": 2, "CSS": 1} | package ru.tinkoff.kora.database.symbol.processor.jdbc.repository
import ru.tinkoff.kora.common.Mapping
import ru.tinkoff.kora.database.common.annotation.Query
import ru.tinkoff.kora.database.common.annotation.Repository
import ru.tinkoff.kora.database.jdbc.JdbcRepository
import ru.tinkoff.kora.database.symbol.process... | 0 | Java | 0 | 0 | 9a95a718abe7d7f31c1ff5bab02ef0d34f807504 | 1,331 | kora | Apache License 2.0 |
extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/package-info.kt | rezaulkhan111 | 589,317,131 | false | {"Java Properties": 1, "Gradle": 47, "Markdown": 91, "Shell": 6, "Batchfile": 1, "Text": 16, "Ignore List": 1, "XML": 480, "Java": 1191, "Kotlin": 302, "YAML": 6, "INI": 1, "JSON": 5, "HTML": 1519, "Ruby": 1, "SVG": 43, "JavaScript": 40, "SCSS": 81, "CSS": 5, "GLSL": 15, "Starlark": 1, "Protocol Buffer Text Format": 1,... | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1 | null | 1 | 1 | c467e918356f58949e0f7f4205e96f0847f1bcdb | 1,376 | ExoPlayer | Apache License 2.0 |
minicraft/lib/src/main/kotlin/minicraft/gl/RefCount.kt | dest1n1s | 695,841,317 | false | {"Java": 44583, "Kotlin": 18198, "GLSL": 934} | package minicraft.gl
interface Destroyable {
fun destroy()
}
interface Setupable {
fun setup()
}
class RefCount<T>(private val value: T) : Destroyable, Setupable
where T : Destroyable, T : Setupable {
private var refCount = 0
fun get(): T = value
override fun destroy() {
refCount... | 1 | null | 1 | 1 | c32cf4f57c07a970b266e5d7d5186ea1738e1c4d | 515 | zommie | Creative Commons Zero v1.0 Universal |
src/main/kotlin/com/koresframework/kores/bytecode/processor/processors/ForEachProcessor.kt | JonathanxD | 77,163,846 | false | {"Git Config": 1, "Gradle": 4, "YAML": 4, "Markdown": 4, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Java": 63, "Kotlin": 108} | /*
* Kores-BytecodeWriter - Translates Kores Structure to JVM Bytecode <https://github.com/JonathanxD/CodeAPI-BytecodeWriter>
*
* The MIT License (MIT)
*
* Copyright (c) 2021 TheRealBuggy/JonathanxD (https://github.com/JonathanxD/) <jonathan.scripter@programmer.net>
* Copyright (c) contribu... | 7 | Kotlin | 0 | 1 | 8324bd03a52ddf5f12dd54c8d7459f83a000ed9a | 7,610 | CodeAPI-BytecodeWriter | MIT License |
compiler/fir/java/src/org/jetbrains/kotlin/fir/java/scopes/JavaOverridabilityRules.kt | google | 219,902,853 | true | {"Markdown": 177, "Gradle": 404, "Gradle Kotlin DSL": 1123, "Java Properties": 30, "Shell": 43, "Ignore List": 21, "Batchfile": 21, "Git Attributes": 8, "JSON": 199, "XML": 803, "Kotlin": 54041, "INI": 194, "Java": 3633, "Text": 21765, "JavaScript": 315, "JAR Manifest": 2, "Roff": 256, "Roff Manpage": 52, "Protocol Buf... | /*
* 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.fir.java.scopes
import org.jetbrains.kotlin.descriptors.Visibility
import org.je... | 1 | Kotlin | 51 | 152 | e302420197acfd51c6ffe53866d69fcb5b2bb5c7 | 3,284 | kotlin | Apache License 2.0 |
library/src/main/java/com/alamkanak/weekview/DrawingContext.kt | GeekInCompany | 170,145,948 | false | {"INI": 3, "Markdown": 2, "Gradle": 4, "Shell": 1, "Batchfile": 1, "Text": 1, "Ignore List": 3, "Java Properties": 1, "Proguard": 2, "XML": 13, "Java": 19, "Kotlin": 26} | package com.alamkanak.weekview
import java.lang.Math.ceil
import java.util.*
import java.util.Calendar.DATE
class DrawingContext(
val dateRange: List<Calendar>,
val startPixel: Float
) {
/**
* Returns the actually visible date range. This can be different from [dateRange] if the user
* ... | 1 | null | 1 | 1 | 1562da71b9964fcdcf75350444231d91b0038246 | 2,650 | Android-Week-View | Apache License 2.0 |
server/src/main/java/org/apollo/plugins/location/tutorial/rsguide/chat/Chat1a.kt | zeruth | 798,108,985 | false | {"Gradle Kotlin DSL": 6, "INI": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Java": 509, "Java Properties": 1, "Kotlin": 55, "XML": 8} | package org.apollo.plugins.location.tutorial.rsguide.chat
import org.apollo.game.model.entity.Npc
import org.apollo.game.model.entity.Player
import org.apollo.plugins.api.ChatEmotes
import org.apollo.plugins.api.dialogue.ChatNpcAction
import org.apollo.plugins.api.dialogue.DialogueResponse
class Chat1a(npc: Npc) : Di... | 0 | Java | 0 | 0 | c12728852fab22676cf79a8559adb4f99ffb4ba0 | 770 | nulled-377 | BSD Zero Clause License |
cms-bl/src/main/kotlin/com/github/knextsunj/cms/service/validation/impl/CountryValidationServiceImpl.kt | knextsunj | 662,745,409 | false | {"Java": 33791, "Kotlin": 24980} | package com.github.knextsunj.cms.service.validation.impl
import com.github.knextsunj.cms.domain.Country
import com.github.knextsunj.cms.repository.CountryRepository
import com.github.knextsunj.cms.service.validation.GenericValidationService
import com.github.knextsunj.cms.util.CmsUtil
import org.springframework.beans.... | 1 | null | 1 | 1 | 0f402e9e8885a6480104e26ca072e1692717fb1b | 808 | cms-microservices | Apache License 2.0 |
kotlin/src/main/kotlin/com/impassive/kotlin/basic/LearnException.kt | yangbiny | 548,708,667 | false | {"Gradle": 22, "Shell": 2, "Text": 1, "Ignore List": 1, "Batchfile": 2, "Git Attributes": 1, "Markdown": 4, "Java": 134, "INI": 2, "Kotlin": 38, "Scala": 8} | package com.impassive.kotlin.basic
import com.impassive.kotlin.basic.Slf4j.Companion.log
import org.slf4j.Logger
import org.slf4j.LoggerFactory
/**
* @author impassive
*/
class LearnException {
fun test() {
try {
log.info("test")
} catch (e: Exception) {
log.error("exce... | 0 | Java | 0 | 2 | 743c268d6c05c3e74a90586f618f79143fedb3b8 | 590 | learning | Apache License 2.0 |
Frontend/Cymon_v2/app/src/main/java/com/example/cymonbattle/pokemon/Move.kt | GrantPierce94 | 736,100,287 | false | {"Text": 14, "Ignore List": 121, "Markdown": 40, "Gradle": 46, "Java Properties": 90, "Shell": 60, "Batchfile": 53, "Proguard": 28, "Java": 524, "XML": 926, "Kotlin": 121, "JSON": 211, "HTML": 125, "INI": 77, "CSS": 10, "JavaScript": 18, "Maven POM": 45, "Gradle Kotlin DSL": 43, "Mustache": 13, "YAML": 3, "Ant Build Sy... | package com.example.cymonbattle.pokemon
import org.json.JSONObject
data class Move(
val name: String,
val level: Int,
val category: String,
val damageClass: String,
val target: String,
val type: String,
val accuracy: Int?,
val heal: Int,
val power: Int?,
private var pp: Int,
... | 0 | Java | 0 | 0 | e93f3a04ff68e39189280853476e039e0164800f | 1,645 | cymon | MIT License |
matrix-sdk/src/androidTest/java/org/matrix/androidsdk/crypto/CryptoStoreMigrationTest.kt | enterstudio | 160,125,033 | false | {"Java Properties": 2, "YAML": 1, "reStructuredText": 3, "Gradle": 3, "Shell": 4, "Markdown": 2, "Batchfile": 1, "Text": 3, "Ignore List": 2, "Proguard": 1, "Java": 398, "Kotlin": 21, "XML": 41, "JavaScript": 3, "HTML": 1} | /*
* Copyright 2018 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 1 | null | 1 | 1 | 497c7fa4a17df57dfe6e57e58b48dd174b395d01 | 22,092 | matrix-android-sdk | Apache License 2.0 |
Backend/Spring/start-code-executions/src/test/kotlin/org/example/startcodeexecutions/StartCodeExecutionsApplicationTests.kt | Luxusio | 360,716,262 | false | {"Text": 4, "Git Attributes": 1, "Markdown": 3, "Gradle": 32, "Shell": 23, "Ignore List": 28, "Batchfile": 23, "INI": 44, "Java": 473, "JSON": 4, "HTML": 138, "JavaScript": 40, "CSS": 14, "Gradle Kotlin DSL": 15, "Kotlin": 23, "XML": 36, "Python": 7, "Maven POM": 2, "YAML": 5, "Java Properties": 5, "SQL": 1, "Java Serv... | package org.example.startcodeexecutions
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
@SpringBootTest
class StartCodeExecutionsApplicationTests {
@Test
fun contextLoads() {
}
}
| 0 | Java | 0 | 0 | 368b567e0e2392240749d274cbd4d28fbec4e8e7 | 244 | Programming-Study | MIT License |
dsl/camel-kotlin-api/src/generated/kotlin/org/apache/camel/kotlin/components/HwcloudIamUriDsl.kt | dhis2 | 598,577,710 | true | {"Groovy": 164, "Text": 249, "Shell": 20, "Maven POM": 587, "Batchfile": 4, "YAML": 74, "Markdown": 26, "Git Attributes": 1, "XML": 1786, "Ignore List": 19, "JSON": 2558, "Git Config": 1, "Java": 21541, "Java Properties": 1060, "AsciiDoc": 1303, "Kotlin": 495, "JavaScript": 32, "OASv3-json": 19, "Dockerfile": 4, "JAR M... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 0 | Java | 0 | 1 | 65511a265752d23f5bbf4bb32cb3438c1d535f98 | 4,824 | camel | Apache License 2.0 |
app-inspection/inspectors/network/ide/src/com/android/tools/idea/appinspection/inspectors/network/ide/analytics/IdeNetworkInspectorTracker.kt | Hzy-Joel | 570,420,990 | true | {"Text": 355, "EditorConfig": 2, "Markdown": 64, "Shell": 32, "Ignore List": 193, "XML": 13507, "Starlark": 142, "Kotlin": 6746, "Java": 8085, "Gradle": 2753, "Proguard": 169, "INI": 72, "JSON": 80, "Graphviz (DOT)": 1, "Ant Build System": 2, "Protocol Buffer": 8, "Java Properties": 166, "HTML": 67, "Batchfile": 20, "G... | /*
* 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... | 0 | null | 0 | 0 | b373163869f676145341d60985cdbdaca3565c0b | 2,831 | android | Apache License 2.0 |
libraries/testlib/test/template/experiment1/I18nTemplateTest.kt | stepancheg | 3,653,064 | true | {"Markdown": 7, "XML": 325, "Ant Build System": 8, "Ignore List": 3, "Python": 1, "Shell": 3, "Makefile": 1, "JAR Manifest": 2, "Java": 1653, "Kotlin": 1384, "Text": 271, "Java Properties": 1, "INI": 1, "HTML": 9, "JavaScript": 28, "JFlex": 2, "Batchfile": 1, "Maven POM": 8, "CSS": 6} | package template.experiment1
import kotlin.template.experiment1.*
import kotlin.test.assertEquals
import junit.framework.TestCase
import java.util.Date
import java.util.Locale
class I18nTemplateTest : TestCase() {
fun testDefaultLocale() : Unit {
format(I18nFormatter())
}
fun testFrance() : Unit... | 0 | Java | 0 | 1 | 70216bff120bfdbca10fdfa5eb1e3fec283d1b1d | 1,110 | kotlin | Apache License 2.0 |
app/src/main/java/com/pedro/sample/Camera2DemoActivity.kt | jin-vita | 655,484,840 | false | {"Java": 833804, "Kotlin": 414537, "GLSL": 40954} | package com.pedro.sample
import android.Manifest
import android.app.AlertDialog
import android.app.admin.DevicePolicyManager
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.ImageFormat
import android.hard... | 1 | null | 1 | 1 | 0547c2e04c60d29bf203406b289e2e6d1c6858dd | 14,727 | my-rtsp-server | Apache License 2.0 |
generators/opengl/src/main/kotlin/overrungl/opengl/GLARB.kt | Over-Run | 524,365,086 | false | {"Gradle Kotlin DSL": 9, "CODEOWNERS": 1, "Java Properties": 1, "Markdown": 11, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "INI": 1, "YAML": 4, "Kotlin": 8, "Java": 713, "XML": 1} | /*
* MIT License
*
* Copyright (c) 2023-2024 Overrun Organization
*
* 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 u... | 4 | Java | 3 | 9 | 9277e69a0da1a2106892c480f73473f892c7d041 | 73,469 | overrungl | MIT License |
app/src/main/java/com/earth/angel/event/SearchEvent.kt | engineerrep | 643,933,914 | false | {"Java": 2291635, "Kotlin": 1651449} | package com.earth.angel.event
class SearchEvent(
var etstr: String,
var type: Int
) | 1 | null | 1 | 1 | 415e0417870b6ff2c84a9798d1f3f3a4e6921354 | 92 | EarthAngel | MIT License |
kotlin-graphql-test/src/main/kotlin/com/junyharangstudy/kotlingraphqltest/api/software/model/dto/request/SoftwareUpdateRequestDto.kt | junyharang-coding-study | 722,094,129 | false | {"Markdown": 253, "Ignore List": 19, "Gradle Kotlin DSL": 2, "XML": 46, "Shell": 2, "Batchfile": 2, "INI": 8, "Kotlin": 76, "YAML": 31, "GraphQL": 45, "Scala": 182, "SQL": 8, "Java": 166, "Motorola 68K Assembly": 9, "Java Properties": 2, "JavaScript": 1335, "JSON with Comments": 17, "JSON": 219, "Dotenv": 1, "Text": 13... | package com.junyharangstudy.kotlingraphqltest.api.software.model.dto.request
class SoftwareUpdateRequestDto (
var usedBy: String?,
var developedBy: String?,
var description: String?
) | 0 | Java | 3 | 13 | 06f407225b4f544848bb9943cbd425de411276b9 | 196 | GraphQL-Study | MIT License |
XBase/src/main/java/com/danny/xbase/base/Application.kt | dannycx | 643,140,932 | false | {"Gradle": 12, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 10, "Batchfile": 1, "Markdown": 58, "INI": 8, "Proguard": 9, "Kotlin": 149, "XML": 117, "Java": 130, "JSON": 2} | package com.danny.xbase.base
import android.app.Application
import java.lang.ref.WeakReference
/**
* application对象
*
* @author danny
* @since 2020-11-20
*/
object Application {
private var application: WeakReference<Application>? = null
fun register(app: Application) {
synchronized(com.danny.xba... | 0 | Java | 0 | 0 | 31020de9d942f1d0013c1bf7a8115decd229e296 | 571 | XLib | Apache License 2.0 |
src/test/java/hes/sudoku/kt/LogicSolverKtTest.kt | Hes-Siemelink | 590,624,559 | false | {"Java": 26516, "Kotlin": 22675} | package hes.sudoku.kt
import org.assertj.core.api.Assertions
import org.junit.jupiter.api.Test
class LogicSolverKtTest {
@Test
fun eliminateBasedOnUniqueSets() {
val cell_0 = Cell(0, 0).replaceCandidates(setOf(1, 2, 3))
val cell_1 = Cell(0, 1).replaceCandidates(setOf(2, 3))
val cell_... | 1 | null | 1 | 1 | 097317f176b73f6ef2349dead413669ca4935ccf | 923 | Sudoku | MIT License |
app/src/main/java/br/com/renancsdev/dtiblog/ui/excluir/ExcluirFragment.kt | RenanCostaSilva | 805,452,810 | false | {"Gradle Kotlin DSL": 3, "Java Properties": 5, "Shell": 1, "Text": 1, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "TOML": 1, "Proguard": 1, "Ignore List": 2, "Kotlin": 36, "XML": 39, "INI": 3, "Java": 2, "PureBasic": 2} | package br.com.renancsdev.dtiblog.ui.excluir
import android.content.Context
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivi... | 0 | Java | 0 | 0 | c7d4d383be74b652bfda2242f06e8c2e7a33cec7 | 5,044 | DTIBlog | Apache License 2.0 |
library_network/src/main/java/com/yyt/librarynetwork/converter/MyGsonRequestBodyConverter.kt | c786909486 | 514,179,909 | false | {"Gradle": 9, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 8, "Batchfile": 1, "Markdown": 1, "INI": 5, "Proguard": 6, "Kotlin": 80, "XML": 48, "Java": 56} | package com.yyt.librarynetwork.converter
import com.google.gson.Gson
import com.google.gson.TypeAdapter
import okhttp3.MediaType
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
import okio.Buffer
import retrofit2.Converter
import java.io.IOEx... | 0 | Java | 0 | 0 | de2681d4b6a0ed9459cea57b78ea7efa5a49f702 | 1,404 | BaseMvvmModel | Apache License 2.0 |
common/src/main/java/com/star/wars/common/base/BaseView.kt | aldefy | 377,213,065 | false | {"Gradle": 11, "Java Properties": 2, "Shell": 1, "Ignore List": 8, "Batchfile": 1, "Markdown": 2, "INI": 6, "Proguard": 7, "XML": 91, "Kotlin": 158, "Java": 2, "JSON": 9} | package com.star.wars.common.base
import android.content.Context
import android.util.AttributeSet
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.lifecycle.*
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.subjects.PublishSubject
abstract class BaseView<V : ViewModel, ... | 1 | null | 1 | 1 | 581db6c4af7547f3adb960980bf9fa8d973b6962 | 1,157 | StarWarsApp | Apache License 2.0 |
critter/core/src/main/kotlin/dev/morphia/critter/parser/java/CritterParser.kt | thachlp | 790,257,498 | true | {"Markdown": 10, "Shell": 2, "Batchfile": 2, "Kotlin": 43, "Java": 994, "Java Properties": 4, "INI": 8, "Gradle Kotlin DSL": 2} | package dev.morphia.critter.parser.java
import dev.morphia.config.MorphiaConfig
import dev.morphia.critter.conventions.CritterDefaultsConvention
import dev.morphia.critter.parser.noArgCtor
import dev.morphia.mapping.Mapper
import io.github.dmlloyd.classfile.ClassBuilder
import io.github.dmlloyd.classfile.ClassFile
imp... | 0 | Java | 0 | 0 | d220079dea743be8053d18f0f99325a455ccb6b6 | 4,848 | morphia | Apache License 2.0 |
product-import/src/main/kotlin/com/luanvv/microservices/bookstore/product_import/processors/BookManipulationProcessor.kt | luanvuhlu | 374,749,577 | false | {"Java": 37673, "Python": 14826, "Kotlin": 8026, "Batchfile": 1633, "Shell": 1432, "Dockerfile": 188} | package com.luanvv.microservices.bookstore.product_import.processors
import com.fasterxml.jackson.annotation.JsonProperty
import com.luanvv.microservices.bookstore.product_import.entities.Book
import com.luanvv.microservices.bookstore.product_import.services.BookService
import org.springframework.context.annotation.Be... | 1 | null | 1 | 1 | aaba1645f79dca718bde1ea8e77deb2101051423 | 1,121 | bookstore-microservices | MIT License |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/koawalib/opmodes/OpModes.kt | Chonks1000000 | 562,622,515 | true | {"Java Properties": 1, "Gradle": 6, "Shell": 1, "Markdown": 9, "Batchfile": 1, "Text": 4, "Ignore List": 2, "XML": 19, "INI": 1, "Java": 87, "Kotlin": 55} | package org.firstinspires.ftc.teamcode.koawalib.opmodes
import com.asiankoala.koawalib.util.Alliance
import com.qualcomm.robotcore.eventloop.opmode.Autonomous
import com.qualcomm.robotcore.eventloop.opmode.TeleOp
@TeleOp(name = "\uD83E\uDD76")
class KBlueOp : KTeleOp(Alliance.BLUE)
@TeleOp(name = "\uD83E\uDD75")
cla... | 0 | Java | 0 | 0 | 80321ac8bbbf7176346d543c504f2158dd3a040a | 707 | Testing | BSD 3-Clause Clear License |
plugins/kotlin/idea/tests/testData/editor/quickDoc/InlineValueClass.kt | JetBrains | 2,489,216 | false | {"Text": 9788, "INI": 517, "YAML": 423, "Ant Build System": 11, "Batchfile": 34, "Dockerfile": 10, "Shell": 633, "Markdown": 750, "Ignore List": 141, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 260, "XML": 7904, "SVG": 4537, "Kotlin": 60205, "Java": 84268, "HTML": 3803, "Java Properties": 217, "Gradle... | @JvmInline value class Class<caret>ModifierEValue(val p: Int)
//INFO: <div class='definition'><pre><span style="color:#808000;">@</span><span style="color:#808000;"><a href="psi_element://kotlin.jvm.JvmInline">JvmInline</a></span>
//INFO: <span style="color:#000080;font-weight:bold;">public</span> <span style="color:#... | 1 | null | 1 | 1 | 0d546ea6a419c7cb168bc3633937a826d4a91b7c | 663 | intellij-community | Apache License 2.0 |
src/main/test/java/GeneratorMaterialJSON.kt | MSh4de | 377,134,599 | false | {"Java": 188452, "Kotlin": 133231, "Dockerfile": 140} | import com.fasterxml.jackson.databind.ObjectMapper
import eu.mshade.enderframe.item.Material
import java.io.File
fun main() {
val file = File("materials.json")
val objectMapper = ObjectMapper()
val jsonNode = objectMapper.createObjectNode()
var id = 0
Material.getRegisteredNamespacedKeys().forEa... | 1 | null | 1 | 1 | dd53d29546e6c42f620e11493523799182357435 | 457 | EnderChest | MIT License |
lib/common/src/main/java/com/tongsr/common/svga/bitmap/SVGABitmapFileDecoder.kt | ujffdi | 628,844,063 | false | {"Java": 1874289, "Kotlin": 463042, "Groovy": 31947} | package com.tongsr.common.svga.bitmap
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import com.tongsr.common.svga.bitmap.SVGABitmapDecoder
/**
* 通过文件解码 Bitmap
*
* Create by im_dsd 2020/7/7 17:50
*/
internal object SVGABitmapFileDecoder : SVGABitmapDecoder<String>() {
override fun onDec... | 1 | null | 1 | 1 | d5004ca96f384cb26dbc610617107c3f12f05211 | 435 | Eyepetizer | Apache License 2.0 |
test-index/src/AllFuckingTests.kt | adolfoeliazat | 93,302,907 | false | {"Java": 30937521, "PHP": 7642921, "Kotlin": 2980528, "JavaScript": 2555709, "TypeScript": 222563, "HTML": 46734, "Batchfile": 23511, "Lex": 15020, "OCaml": 6730, "C#": 4124, "Protocol Buffer": 2621, "AutoHotkey": 2556, "Shell": 843, "Vim Script": 591, "Python": 62} | package vgrechka.testindex
import org.junit.runner.RunWith
import org.junit.runners.Suite
import vgrechka.*
import vgrechka.botinok.*
import vgrechka.spewgentests.*
import java.io.File
@RunWith(Suite::class) @Suite.SuiteClasses(
SpewGenTestSuite::class,
SharedJVMTestSuite::class,
BotinokTests::class
)
cla... | 1 | null | 1 | 1 | 6d40f5900d94037139ed97cdc926db90749d5768 | 341 | fucking-everything | Apache License 2.0 |
baseclasses_ads/src/main/java/com/appspiriment/baseclasses/ads/AdUtils.kt | appspiriment | 187,779,013 | false | {"Markdown": 3, "Gradle": 7, "Java Properties": 2, "Shell": 1, "Ignore List": 6, "Batchfile": 1, "INI": 5, "Proguard": 5, "XML": 21, "Kotlin": 22, "Java": 2} | package com.appspiriment.baseclasses.ads
import android.content.Context
import android.content.SharedPreferences
import android.util.DisplayMetrics
import android.view.WindowManager
import androidx.preference.PreferenceManager
import com.google.android.gms.ads.*
/*****************************
* method to get shared ... | 0 | Kotlin | 0 | 1 | 7c590ebd65b823b6e1261f08b6a9f0d3288de4d1 | 5,076 | AndroidUtils | Apache License 2.0 |
app/src/main/java/ca/pkay/rcloneexplorer/util/WifiConnectivitiyUtil.kt | djpohly | 518,070,698 | true | {"Java Properties": 2, "YAML": 3, "Gradle": 5, "Shell": 1, "Roff Manpage": 1, "Markdown": 7, "Batchfile": 1, "Text": 4, "Ignore List": 4, "Proguard": 2, "XML": 270, "Java": 143, "Kotlin": 7} | package ca.pkay.rcloneexplorer.util
import android.content.Context
import android.net.ConnectivityManager
import android.net.wifi.WifiManager
class WifiConnectivitiyUtil {
companion object {
/**
* Check if wifi is connected. Also respects if wifi is metered.
*/
fun checkWifiOnA... | 0 | null | 0 | 0 | 2f700ed60af92150581237042d3d7679f0698cde | 980 | extRact | MIT License |
clients/kotlin-server/generated/src/main/kotlin/org/openapitools/server/models/CustomLabel3Filter.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | /**
* Pinterest REST API
* Pinterest's REST API
*
* The version of the OpenAPI document: 5.12.0
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.openapitools.server.models
i... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 541 | pinterest-sdk | MIT License |
app/src/main/java/com/ayaanle/h_suuq/utils/Notifications.kt | ayaanlehashi11 | 525,490,944 | false | {"Java": 16247, "Kotlin": 6918} | package com.ayaanle.h_suuq.utils
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.graphics.BitmapFactory
import androidx.core.content.ContextCompat.g... | 1 | null | 1 | 1 | 0c74b9f6d16b0dad623f3dc704f584c48ba7f012 | 1,842 | Z-Suuq | MIT License |
idea/src/org/jetbrains/jet/plugin/debugger/render/KotlinObjectRenderer.kt | virtuoushub | 27,313,453 | true | {"Markdown": 21, "XML": 504, "Ant Build System": 33, "Ignore List": 8, "Kotlin": 14560, "Java": 4036, "Protocol Buffer": 2, "Roff": 18, "Roff Manpage": 4, "Text": 3020, "JAR Manifest": 1, "INI": 6, "HTML": 102, "Groovy": 7, "Gradle": 62, "Maven POM": 39, "Java Properties": 10, "CSS": 10, "JavaScript": 53, "JFlex": 3, "... | /*
* Copyright 2010-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Java | 0 | 0 | 99ec8952e192d3f95bb1974e71bbfca1d2e92c78 | 6,496 | kotlin | Apache License 2.0 |
app/src/main/java/com/jagoancoding/tobuy/util/PurchaseUtil.kt | f4ww4z | 138,449,858 | false | {"Gradle": 3, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "JSON": 2, "Kotlin": 14, "XML": 22, "Java": 1, "SVG": 2} | package com.jagoancoding.tobuy.util
import com.jagoancoding.tobuy.db.Purchase
object PurchaseUtil {
fun List<Purchase>.sumUpPurchases() = filter { it.included }.map { it.totalPrice }.sum()
} | 3 | Kotlin | 0 | 1 | 84e174ff8f4575e7e28cecfd5b19066416e24027 | 197 | tobuy | MIT License |
ui/revenuecatui/src/main/kotlin/com/revenuecat/purchases/ui/revenuecatui/fonts/CustomFontProvider.kt | RevenueCat | 127,346,826 | false | {"Gemfile.lock": 1, "Gradle": 21, "Markdown": 16, "Java Properties": 10, "Ruby": 3, "Shell": 5, "Text": 1, "Ignore List": 17, "Batchfile": 4, "YAML": 6, "XML": 223, "INI": 5, "Proguard": 14, "Kotlin": 685, "JSON": 5, "TOML": 4, "Java": 44, "Gradle Kotlin DSL": 2, "HTML": 1} | package com.revenuecat.purchases.ui.revenuecatui.fonts
import androidx.compose.ui.text.font.FontFamily
/**
* Class that allows to provide a font family for all text styles.
* @param fontFamily the [FontFamily] to be used for all text styles.
*/
class CustomFontProvider(private val fontFamily: FontFamily) : FontPro... | 1 | null | 1 | 1 | 5deff6cbebe4712ef3633053ceb6d217179f4fa6 | 390 | purchases-android | MIT License |
studypatch/src/main/java/com/xdf/studypatch/callback/PatchManipulateImp.kt | wangqiang58 | 665,320,909 | false | {"Java": 152782, "Groovy": 117978, "Kotlin": 64993} | package com.xdf.studypatch.callback
import android.content.Context
import com.meituan.robust.Patch
import com.meituan.robust.PatchManipulate
import com.xdf.studypatch.manager.RobustManager
import com.xdf.studypatch.util.FileUtils
import com.xdf.studypatch.util.PatchCoderUtil
import java.io.File
/**
*
@author: wangqi... | 1 | null | 1 | 1 | dff654b11f57588e7a1687e7335725fc334b0416 | 4,136 | patcher_mobile | Apache License 2.0 |
executioncontext/installationcontext/src/test/java/org/jetbrains/bsp/bazel/installationcontext/InstallationContextConstructorTest.kt | steveniemitz | 485,935,051 | true | {"Shell": 3, "Markdown": 10, "Java": 138, "Kotlin": 46, "C++": 1, "Scala": 10} | package org.jetbrains.bsp.bazel.installationcontext
import com.google.common.net.HostAndPort
import io.kotest.matchers.shouldBe
import io.vavr.control.Option
import io.vavr.control.Try
import org.jetbrains.bsp.bazel.installationcontext.entities.InstallationContextDebuggerAddressEntity
import org.jetbrains.bsp.bazel.in... | 0 | null | 0 | 0 | 36b98966249b6616f86c035b7f48c8ca816d3188 | 3,067 | bazel-bsp | Apache License 2.0 |
hobbits/src/test/kotlin/org/apache/tuweni/hobbits/HobbitsTransportTest.kt | Consensys | 693,991,624 | true | {"SVG": 2, "Java Properties": 2, "Markdown": 64, "Gradle": 64, "Shell": 3, "EditorConfig": 1, "YAML": 13760, "Git Attributes": 1, "Batchfile": 1, "Text": 33, "Ignore List": 2, "Git Config": 1, "Kotlin": 393, "TOML": 8, "Java": 443, "XML": 18, "JSON": 17343, "JavaScript": 4, "CSS": 1, "HTML": 8, "SQL": 5, "INI": 3, "ANT... | // Copyright The Tuweni Authors
// SPDX-License-Identifier: Apache-2.0
package org.apache.tuweni.hobbits
import io.vertx.core.Vertx
import kotlinx.coroutines.runBlocking
import org.apache.tuweni.bytes.Bytes
import org.apache.tuweni.concurrent.AsyncResult
import org.apache.tuweni.concurrent.coroutines.await
import org.... | 1 | Java | 2 | 0 | d780a654afc90f5fd3c16540d592259487e0a190 | 3,209 | tuweni | Apache License 2.0 |
translatorCompiler/src/main/kotlin/net/earthcomputer/multiconnect/compiler/node/CastOp.kt | LostLuma | 504,882,998 | true | {"Java Properties": 2, "Batchfile": 2, "Gradle": 5, "Shell": 3, "Text": 26, "Markdown": 3, "Ignore List": 1, "JSON": 61, "Java": 808, "Gradle Kotlin DSL": 6, "Kotlin": 67, "XML": 3, "YAML": 3, "Groovy": 1, "Graphviz (DOT)": 3, "SVG": 3, "INI": 1, "Python": 3, "JavaScript": 1} | package net.earthcomputer.multiconnect.compiler.node
import net.earthcomputer.multiconnect.compiler.Emitter
import net.earthcomputer.multiconnect.compiler.McType
class CastOp(fromType: McType, private val toType: McType) : McNodeOp {
override val paramTypes = listOf(fromType)
override val returnType = toType
... | 0 | null | 0 | 0 | ee5cbf489d9d03e9cd12b43e26d75e367666d973 | 601 | multiconnect | MIT License |
app/src/main/java/com/earth/angel/gift/adapter/RecommendGroupsAdapter.kt | engineerrep | 643,933,914 | false | {"Java": 2291635, "Kotlin": 1651449} | package com.earth.angel.gift.adapter
import android.content.Context
import android.view.LayoutInflater
import android.widget.ImageView
import android.widget.TextView
import androidx.constraintlayout.helper.widget.Layer
import com.bumptech.glide.Glide
import com.chad.library.adapter.base.BaseQuickAdapter
import com.cha... | 1 | null | 1 | 1 | 415e0417870b6ff2c84a9798d1f3f3a4e6921354 | 1,630 | EarthAngel | MIT License |
XTool/src/main/java/com/danny/xtool/net/NetType.kt | dannycx | 643,140,932 | false | {"Gradle": 12, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 10, "Batchfile": 1, "Markdown": 58, "INI": 8, "Proguard": 9, "Kotlin": 149, "XML": 117, "Java": 130, "JSON": 2} | /*
* Copyright (c) 2023-2023 x
*/
package com.danny.xtool.net
/**
* 网络类型
*
* @author x
* @since 2023-06-02
*/
enum class NetType(private var des: String) {
NETWORK_WIFI("WiFi"), NETWORK_5G("5G"), NETWORK_4G("4G"), NETWORK_3G("3G")
, NETWORK_2G("2G"), NETWORK_UNKNOWN("Unknown"), NETWORK_NO("No netwo... | 0 | Java | 0 | 0 | 31020de9d942f1d0013c1bf7a8115decd229e296 | 392 | XLib | Apache License 2.0 |
src/main/kotlin/com/koresframework/kores/type/KoresTypeResolver.kt | JonathanxD | 58,418,392 | false | {"Gradle": 5, "YAML": 3, "TOML": 2, "Markdown": 7208, "INI": 2, "Shell": 1, "Text": 3, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "Java": 69, "Kotlin": 218, "SVG": 2, "HTML": 12, "JavaScript": 7, "CSS": 9, "JSON": 1} | /*
* Kores - Java source and Bytecode generation framework <https://github.com/JonathanxD/Kores>
*
* The MIT License (MIT)
*
* Copyright (c) 2022 TheRealBuggy/JonathanxD (https://github.com/JonathanxD/) <<EMAIL>>
* Copyright (c) contributors
*
*
* Permission is hereby granted, free ... | 6 | Kotlin | 0 | 4 | 236f7db6eeef7e6238f0ae0dab3f3b05fc531abb | 18,996 | CodeAPI | MIT License |
sceneview/src/main/kotlin/io/github/sceneview/SceneView.kt | vrolnes | 479,101,426 | true | {"Java Properties": 4, "YAML": 7, "Markdown": 3, "Gradle": 10, "Shell": 2, "Batchfile": 3, "Text": 2, "Ignore List": 9, "XML": 45, "Kotlin": 68, "Proguard": 4, "Java": 175, "Unity3D Asset": 13, "Groovy": 1} | package io.github.sceneview
import android.annotation.SuppressLint
import android.content.Context
import android.content.ContextWrapper
import android.graphics.Color.BLACK
import android.graphics.PixelFormat
import android.graphics.drawable.ColorDrawable
import android.graphics.drawable.Drawable
import android.util.At... | 0 | null | 0 | 0 | 7ad2ec401649fa45031d84a28140eb58d2dda7e6 | 17,929 | sceneview-android | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.