hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 98
values | lang stringclasses 21
values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 118 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 118 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 135 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1 1.03M | max_line_length int64 2 1.03M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2a11929e942da5bd2cee0bcae4160c19dc3908c4 | 517 | java | Java | src/main/java/org/gooru/nucleus/converter/processors/command/executor/convert/ConvertExecutorFactory.java | sheebans/ss-nucleus-converter | 234ad027ad09d26da69cbf1f9b8f9879882343c8 | [
"Apache-2.0"
] | null | null | null | src/main/java/org/gooru/nucleus/converter/processors/command/executor/convert/ConvertExecutorFactory.java | sheebans/ss-nucleus-converter | 234ad027ad09d26da69cbf1f9b8f9879882343c8 | [
"Apache-2.0"
] | null | null | null | src/main/java/org/gooru/nucleus/converter/processors/command/executor/convert/ConvertExecutorFactory.java | sheebans/ss-nucleus-converter | 234ad027ad09d26da69cbf1f9b8f9879882343c8 | [
"Apache-2.0"
] | null | null | null | package org.gooru.nucleus.converter.processors.command.executor.convert;
import org.gooru.nucleus.converter.processors.command.executor.Executor;
public final class ConvertExecutorFactory {
public static Executor ConvertHtmlToPdfExecutor() {
return ConvertHtmlToPdfExecutor.getInstance();
}
publi... | 25.85 | 72 | 0.752418 |
993ccb05e084963a4ea46c10da9a859047073ff7 | 3,120 | h | C | MdeModulePkg/Include/Ppi/DelayedDispatch.h | mapaig/mu_basecore | d5b1e572a527a64e0a23ee6bbe63de4f600f39a9 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 76 | 2019-05-25T19:36:48.000Z | 2022-03-17T08:29:45.000Z | MdeModulePkg/Include/Ppi/DelayedDispatch.h | mapaig/mu_basecore | d5b1e572a527a64e0a23ee6bbe63de4f600f39a9 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 35 | 2019-06-06T04:43:46.000Z | 2022-03-30T02:31:36.000Z | MdeModulePkg/Include/Ppi/DelayedDispatch.h | mapaig/mu_basecore | d5b1e572a527a64e0a23ee6bbe63de4f600f39a9 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 58 | 2019-05-08T08:42:47.000Z | 2022-03-25T02:44:09.000Z | /**
PPI that allows a Pei module to request a callback after a minumum
delay.
Copyright (c) Microsoft Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __EFI_DELAYED_DISPATCH_PPI_H__
#define __EFI_DELAYED_DISPATCH_PPI_H__
#define EFI_DELAYED_DISPATCH_PPI_GUID \
{ ... | 30.891089 | 98 | 0.704808 |
dd7eb20f48d3bc4c1b04f5685bb36cb6f23577ef | 739 | php | PHP | module/Application/src/Model/SurveyResponseTable.php | backjack/classroom | 6b4e63616ade09d83ba8cbbb72722b73667472b1 | [
"BSD-3-Clause"
] | null | null | null | module/Application/src/Model/SurveyResponseTable.php | backjack/classroom | 6b4e63616ade09d83ba8cbbb72722b73667472b1 | [
"BSD-3-Clause"
] | null | null | null | module/Application/src/Model/SurveyResponseTable.php | backjack/classroom | 6b4e63616ade09d83ba8cbbb72722b73667472b1 | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace Application\Model;
use Intermatics\BaseTable;
use Zend\Db\Sql\Select;
class SurveyResponseTable extends BaseTable
{
protected $tableName = 'survey_response';
protected $primary = 'survey_response_id';
public function getTotalForTest($id,$startDate=null,$endDate=null)
{
$select... | 25.482759 | 74 | 0.608931 |
7be8be54d5e50955395f5a921d1adc626269ef97 | 759 | rb | Ruby | spec/lib/gitlab/kubernetes/helm/base_command_spec.rb | abdullatif1992/gitlabhq | 2de002b3db1bc199755f8be212fa8804fcb80905 | [
"MIT"
] | 1 | 2018-07-31T00:12:33.000Z | 2018-07-31T00:12:33.000Z | spec/lib/gitlab/kubernetes/helm/base_command_spec.rb | abdullatif1992/gitlabhq | 2de002b3db1bc199755f8be212fa8804fcb80905 | [
"MIT"
] | 5 | 2021-05-21T00:46:08.000Z | 2022-03-02T11:15:45.000Z | spec/lib/gitlab/kubernetes/helm/base_command_spec.rb | abdullatif1992/gitlabhq | 2de002b3db1bc199755f8be212fa8804fcb80905 | [
"MIT"
] | 2 | 2019-11-28T19:12:40.000Z | 2020-11-04T05:29:58.000Z | require 'spec_helper'
describe Gitlab::Kubernetes::Helm::BaseCommand do
let(:application) { create(:clusters_applications_helm) }
let(:base_command) { described_class.new(application.name) }
subject { base_command }
it_behaves_like 'helm commands' do
let(:commands) { '' }
end
describe '#pod_resource... | 23 | 80 | 0.710145 |
541dc3f6fe7bf5abd9c6ea7f9629edb0f96ed3b7 | 1,624 | go | Go | pkg/utils/aes.go | cxz66666/xms-go | 125b11734cb8b2d58bae08be8513825bb8f60bde | [
"MIT"
] | null | null | null | pkg/utils/aes.go | cxz66666/xms-go | 125b11734cb8b2d58bae08be8513825bb8f60bde | [
"MIT"
] | null | null | null | pkg/utils/aes.go | cxz66666/xms-go | 125b11734cb8b2d58bae08be8513825bb8f60bde | [
"MIT"
] | null | null | null | package utils
import (
"bytes"
"crypto/aes"
"crypto/cipher"
)
//PKCS7Padding use PKCS7 to padding
func PKCS7Padding(ciphertext []byte, blockSize int) []byte {
padding := blockSize - len(ciphertext) % blockSize
padtext := bytes.Repeat([]byte{byte(padding)}, padding)
return append(ciphertext, padtext...)
}
//PKCS... | 23.2 | 92 | 0.704433 |
388e7f0e3c8f3c942138d25aef5e13ca5eca8800 | 127 | sql | SQL | ibolc/data/mil_components.sql | jschaf/ibolcdb | e890fcf6bdc6219b3464899a99ac0464f6d329fc | [
"BSD-3-Clause"
] | null | null | null | ibolc/data/mil_components.sql | jschaf/ibolcdb | e890fcf6bdc6219b3464899a99ac0464f6d329fc | [
"BSD-3-Clause"
] | null | null | null | ibolc/data/mil_components.sql | jschaf/ibolcdb | e890fcf6bdc6219b3464899a99ac0464f6d329fc | [
"BSD-3-Clause"
] | null | null | null | INSERT INTO mil_component (name, abbreviation) VALUES
('Active Duty', 'AD'),
('National Guard', 'NG'),
('Reserve', 'Reserve');
| 25.4 | 53 | 0.677165 |
c7f2372f8d8f1bf6eba616475786086ce3bf9d4c | 1,505 | java | Java | src/main/java/com/github/codeteapot/tools/packer/PackerExecutor.java | codeteapot/packer-maven-plugin | 75d6c537b11756e7ce8e6de4b53c8450e45a18e4 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/github/codeteapot/tools/packer/PackerExecutor.java | codeteapot/packer-maven-plugin | 75d6c537b11756e7ce8e6de4b53c8450e45a18e4 | [
"Apache-2.0"
] | 1 | 2021-01-16T23:27:16.000Z | 2021-01-16T23:27:16.000Z | src/main/java/com/github/codeteapot/tools/packer/PackerExecutor.java | codeteapot/packer-maven-plugin | 75d6c537b11756e7ce8e6de4b53c8450e45a18e4 | [
"Apache-2.0"
] | null | null | null | package com.github.codeteapot.tools.packer;
import static java.io.File.createTempFile;
import static java.lang.ProcessBuilder.Redirect.PIPE;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.concurrent.Executor;
class PackerExecutor {
private fina... | 32.021277 | 96 | 0.762791 |
98c2e4d0ca51c46097821a853ce724cbe0171a0c | 16,629 | html | HTML | doc/MB03WD.html | bnavigator/SLICOT-Reference | 7b96b6470ee0eaf75519a612d15d5e3e2857407d | [
"BSD-3-Clause"
] | 17 | 2020-11-10T23:47:47.000Z | 2022-03-18T04:34:43.000Z | doc/MB03WD.html | bnavigator/SLICOT-Reference | 7b96b6470ee0eaf75519a612d15d5e3e2857407d | [
"BSD-3-Clause"
] | 3 | 2021-02-07T22:26:30.000Z | 2022-03-30T11:01:07.000Z | doc/MB03WD.html | bnavigator/SLICOT-Reference | 7b96b6470ee0eaf75519a612d15d5e3e2857407d | [
"BSD-3-Clause"
] | 6 | 2020-11-26T11:06:38.000Z | 2022-03-24T00:37:21.000Z | <HTML>
<HEAD><TITLE>MB03WD - SLICOT Library Routine Documentation</TITLE>
</HEAD>
<BODY>
<H2><A Name="MB03WD">MB03WD</A></H2>
<H3>
Schur decomposition and eigenvalues of a product of matrices in periodic Hessenberg form
</H3>
<A HREF ="#Specification"><B>[Specification]</B></A>
<A HREF ="#Arguments"><B>[Arguments]</B>... | 38.315668 | 88 | 0.506164 |
d6223e85977abf023b87c46f502841b8581ad49c | 1,409 | kt | Kotlin | ktor-client/ktor-client-plugins/ktor-client-tracing/ktor-client-tracing-stetho/android/src/io/ktor/client/features/tracing/KtorInterceptorHeaders.kt | IRus/ktor | 1bbc7ca522df45c77b390c259566cb64be51304c | [
"Apache-2.0"
] | 8,656 | 2017-10-22T10:35:40.000Z | 2022-03-31T18:54:49.000Z | ktor-client/ktor-client-plugins/ktor-client-tracing/ktor-client-tracing-stetho/android/src/io/ktor/client/features/tracing/KtorInterceptorHeaders.kt | ronjunevaldoz/ktor | 2410fb825b29ec3e14a530e8a1dfd54a27838233 | [
"Apache-2.0"
] | 1,993 | 2017-10-21T20:03:16.000Z | 2022-03-31T15:37:54.000Z | ktor-client/ktor-client-plugins/ktor-client-tracing/ktor-client-tracing-stetho/android/src/io/ktor/client/features/tracing/KtorInterceptorHeaders.kt | ronjunevaldoz/ktor | 2410fb825b29ec3e14a530e8a1dfd54a27838233 | [
"Apache-2.0"
] | 912 | 2017-10-21T16:53:33.000Z | 2022-03-28T11:34:43.000Z | /*
* Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.client.plugin.tracing
import com.facebook.stetho.inspector.network.*
import io.ktor.http.*
import java.util.*
/**
* Implementation of [NetworkEventReporter.InspectorHeaders] t... | 27.096154 | 118 | 0.660752 |
21d74d9289e4f3410d8cd485d61c632d97dec2bb | 66,670 | html | HTML | index.html | bothyouandme/love | fe8d9138305bc70e8c7d5041c31339a002767ad8 | [
"MIT"
] | 1 | 2021-05-06T13:45:50.000Z | 2021-05-06T13:45:50.000Z | index.html | bothyouandme/love | fe8d9138305bc70e8c7d5041c31339a002767ad8 | [
"MIT"
] | null | null | null | index.html | bothyouandme/love | fe8d9138305bc70e8c7d5041c31339a002767ad8 | [
"MIT"
] | null | null | null | <!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>献给我最最最爱的温柔善良乖巧细心大方体贴美丽可爱的慕宝贝</title>
<meta name="description" content="永久保存您的表白信息,记录您和TA的故事。我们的口号是: 为爱情中得小惊喜而感动" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
... | 264.563492 | 58,603 | 0.928349 |
2a6006e21d06ae966cd56a02f3c596cee0ae00ed | 876 | java | Java | 474/D.java | I-See-You/Programming-Solutions | e69d94586b1718256a6ff4d2e67f91bc98c64815 | [
"MIT"
] | null | null | null | 474/D.java | I-See-You/Programming-Solutions | e69d94586b1718256a6ff4d2e67f91bc98c64815 | [
"MIT"
] | null | null | null | 474/D.java | I-See-You/Programming-Solutions | e69d94586b1718256a6ff4d2e67f91bc98c64815 | [
"MIT"
] | null | null | null | import java.util.Scanner;
import java.util.Arrays;
public class Test1 {
public static void main(String[] args)
{
Scanner cin = new Scanner (System.in);
int t,k;
final int mod = 1000000007;
int[] dp = new int[100005];
t = cin.nextInt();
k = c... | 27.375 | 68 | 0.399543 |
2670c5edc066c6c86b18932f91eb1de9cedbdbe3 | 1,166 | java | Java | app/src/main/java/com/example/googlemap/NearbySearch.java | Banus/Textflow | e8ec120134cb0220769efd913171963c3d81e485 | [
"MIT"
] | null | null | null | app/src/main/java/com/example/googlemap/NearbySearch.java | Banus/Textflow | e8ec120134cb0220769efd913171963c3d81e485 | [
"MIT"
] | null | null | null | app/src/main/java/com/example/googlemap/NearbySearch.java | Banus/Textflow | e8ec120134cb0220769efd913171963c3d81e485 | [
"MIT"
] | null | null | null | package com.example.googlemap;
import android.content.Context;
import com.google.maps.GeoApiContext;
import com.google.maps.PlacesApi;
import com.google.maps.errors.ApiException;
import com.google.maps.model.PlaceType;
import com.google.maps.model.PlacesSearchResponse;
import com.google.maps.model.RankBy;
import com.... | 30.684211 | 84 | 0.66295 |
167290988cbf40ea8b32fa2445fd13cd34c2aae2 | 967 | ts | TypeScript | src/api-modules/user/user-modules/auth/strategies/local.strategy.ts | TishakinNikolay/iminback | 0d6401e456e04654be285e969b3b4f937a99efb5 | [
"MIT"
] | null | null | null | src/api-modules/user/user-modules/auth/strategies/local.strategy.ts | TishakinNikolay/iminback | 0d6401e456e04654be285e969b3b4f937a99efb5 | [
"MIT"
] | null | null | null | src/api-modules/user/user-modules/auth/strategies/local.strategy.ts | TishakinNikolay/iminback | 0d6401e456e04654be285e969b3b4f937a99efb5 | [
"MIT"
] | null | null | null | import {PassportStrategy} from '@nestjs/passport';
import {ExtractJwt, Strategy} from 'passport-jwt';
import {UserErrorEnum} from '../../../enums/user-error.enum';
import {UserFindError} from '../../../errors/user-find.error';
import {User} from '../../../models/user.entity';
export class LocalStrategy extends Passpor... | 32.233333 | 83 | 0.562565 |
c07aaec3924cfdf82a361bf5e009af27d4bf30ec | 15,244 | sql | SQL | server/controller/src/main/resources/db/migration/V00001__Create_schema.sql | star-whale/starwhale | 11cfe86d3a0c2972b508812d101f1b32e4166706 | [
"Apache-2.0"
] | 13 | 2022-03-09T15:27:29.000Z | 2022-03-29T06:12:47.000Z | server/controller/src/main/resources/db/migration/V00001__Create_schema.sql | star-whale/starwhale | 11cfe86d3a0c2972b508812d101f1b32e4166706 | [
"Apache-2.0"
] | 7 | 2022-03-14T08:59:39.000Z | 2022-03-30T00:50:40.000Z | server/controller/src/main/resources/db/migration/V00001__Create_schema.sql | star-whale/starwhale | 11cfe86d3a0c2972b508812d101f1b32e4166706 | [
"Apache-2.0"
] | 9 | 2022-03-10T08:12:44.000Z | 2022-03-26T15:00:13.000Z | /*
* Copyright 2022.1-2022
* StarWhale.ai All right reserved. This software is the confidential and proprietary information of
* StarWhale.ai ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only
* in accordance with the terms of the license agreement you entered i... | 38.788804 | 120 | 0.557072 |
76e56e388d9cbedec699ca672c047cebb2dd284b | 51,637 | c | C | testsuite/EXP_3/test2656.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 34 | 2017-07-04T14:16:12.000Z | 2021-04-22T21:04:43.000Z | testsuite/EXP_3/test2656.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 1 | 2017-07-06T03:43:44.000Z | 2017-07-06T03:43:44.000Z | testsuite/EXP_3/test2656.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 6 | 2017-07-04T16:30:42.000Z | 2019-10-16T05:37:29.000Z |
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
int8_t x1 = 0;
int16_t x4 = INT16_MIN;
int16_t x16 = -1;
uint16_t x20 = UINT16_MAX;
int32_t t4 = 451916;
uint3... | 18.285057 | 54 | 0.573581 |
2a29e970f4c8919b09eba35b445b32234369acbe | 4,118 | java | Java | src/main/java/com/lbs/vaadin/bootstrap/Col.java | logobs/vaadstrap | 6f74a183ff53f5c0d21e5ed0bef0d5b4ac1a6802 | [
"MIT"
] | null | null | null | src/main/java/com/lbs/vaadin/bootstrap/Col.java | logobs/vaadstrap | 6f74a183ff53f5c0d21e5ed0bef0d5b4ac1a6802 | [
"MIT"
] | null | null | null | src/main/java/com/lbs/vaadin/bootstrap/Col.java | logobs/vaadstrap | 6f74a183ff53f5c0d21e5ed0bef0d5b4ac1a6802 | [
"MIT"
] | null | null | null | package com.lbs.vaadin.bootstrap;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import com.vaadin.ui.Component;
import com.vaadin.ui.CssLayout;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
/**
* @author seb
*/
public class Col extends CssLayout {
p... | 23.531429 | 111 | 0.647402 |
66c9fa3c94c75063842a28f06477816d0fe369dd | 3,520 | htm | HTML | interface/web/sites/templates/web_vhost_domain_stats.htm | milindsalwe/ispconfig | 922b2803302b184692ee7484c31c122929fbc8ad | [
"BSD-3-Clause"
] | 11 | 2018-05-08T14:17:59.000Z | 2021-12-03T04:57:16.000Z | interface/web/sites/templates/web_vhost_domain_stats.htm | milindsalwe/ispconfig | 922b2803302b184692ee7484c31c122929fbc8ad | [
"BSD-3-Clause"
] | null | null | null | interface/web/sites/templates/web_vhost_domain_stats.htm | milindsalwe/ispconfig | 922b2803302b184692ee7484c31c122929fbc8ad | [
"BSD-3-Clause"
] | 6 | 2020-02-15T19:50:50.000Z | 2022-01-24T19:55:11.000Z | <div class='page-header'>
<h1><tmpl_var name="list_head_txt"></h1>
</div>
<p><tmpl_var name="list_desc_txt"></p>
<tmpl_if name="config_error_msg">
<div style="background: #ffdfdf; border: 1px solid #df7d7d; border-width: 1px 0; margin: 1.5em 0 1.5em 0; padding: 7px;">
<p style="font-face:bold">{tmpl_v... | 59.661017 | 238 | 0.630114 |
c33d6f99166643d0eed9f7e2d296002a998231ad | 247 | kt | Kotlin | src/main/kotlin/com/eny/i18n/plugin/ide/completion/VueCompletionContributor.kt | nyavro/i18nPlugin | d1bb8397ef103d359df6b0007f9e5266406e494d | [
"MIT"
] | 53 | 2019-11-21T08:48:56.000Z | 2022-03-31T10:12:30.000Z | src/main/kotlin/com/eny/i18n/plugin/ide/completion/VueCompletionContributor.kt | nyavro/i18nPlugin | d1bb8397ef103d359df6b0007f9e5266406e494d | [
"MIT"
] | 111 | 2019-11-14T14:32:33.000Z | 2022-02-27T23:35:25.000Z | src/main/kotlin/com/eny/i18n/plugin/ide/completion/VueCompletionContributor.kt | nyavro/i18nPlugin | d1bb8397ef103d359df6b0007f9e5266406e494d | [
"MIT"
] | 11 | 2020-02-02T12:14:43.000Z | 2021-10-12T11:32:51.000Z | package com.eny.i18n.plugin.ide.completion
import com.eny.i18n.plugin.language.vue.VueLanguageFactory
/**
* Completion contributor for Vue
*/
class VueCompletionContributor: CompositeKeyCompletionContributor(VueLanguageFactory().callContext()) | 30.875 | 101 | 0.82996 |
d2903aa24d8d2e792cdef0d02d37d2c452ad1b9a | 3,154 | php | PHP | public/linkAdd.php | ciniki/customers | d9d4c38c9da5d14613c9599aa100073839d53382 | [
"MIT"
] | null | null | null | public/linkAdd.php | ciniki/customers | d9d4c38c9da5d14613c9599aa100073839d53382 | [
"MIT"
] | null | null | null | public/linkAdd.php | ciniki/customers | d9d4c38c9da5d14613c9599aa100073839d53382 | [
"MIT"
] | null | null | null | <?php
//
// Description
// -----------
// This function will add a new customer link to a customer.
//
// Arguments
// ---------
// api_key:
// auth_token:
// tnid: The ID of the tenant the customer belongs to.
// customer_id: The ID of the customer to add the link to.
// name: (optional) The name fo... | 39.924051 | 166 | 0.590679 |
3e8171bf79b850ff4eb76779b1faf4c05f6192a4 | 5,210 | h | C | public/matchmaking/igametypes.h | Ochii/source-sdk-csgo | c95b57ce390dcc36d078efc680a3963b27de2f41 | [
"Unlicense"
] | 4 | 2018-11-27T23:11:55.000Z | 2019-07-23T14:27:08.000Z | public/matchmaking/igametypes.h | Ochii/source-sdk-csco | c95b57ce390dcc36d078efc680a3963b27de2f41 | [
"Unlicense"
] | null | null | null | public/matchmaking/igametypes.h | Ochii/source-sdk-csco | c95b57ce390dcc36d078efc680a3963b27de2f41 | [
"Unlicense"
] | 2 | 2019-06-01T15:24:29.000Z | 2019-07-23T14:27:09.000Z | //===== Copyright c 1996-2009, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
// $NoKeywords: $
//===========================================================================//
#ifndef IGAMETYPES_H
#define IGAMETYPES_H
#ifdef _WIN32
#pragma once
#endif
namespace ELOGameType
{
enum GameType
{
INVA... | 35.442177 | 175 | 0.75048 |
f073a799e8b36554db301e779cfd3eed55011853 | 4,727 | py | Python | QDeblend/process/host_profiles.py | brandherd/QDeblend3D | 4e195ca027cf9fb65962ce66bf5d1f3e119b4f18 | [
"MIT"
] | null | null | null | QDeblend/process/host_profiles.py | brandherd/QDeblend3D | 4e195ca027cf9fb65962ce66bf5d1f3e119b4f18 | [
"MIT"
] | null | null | null | QDeblend/process/host_profiles.py | brandherd/QDeblend3D | 4e195ca027cf9fb65962ce66bf5d1f3e119b4f18 | [
"MIT"
] | null | null | null | import numpy, math
from scipy import special
"""
The Sersic Profile
Formulae for Sersic profile taken from Graham & Driver (2005)
bibcode: 2005PASA...22..118G
"""
class Sersic:
def __init__(self, size, x_c, y_c, mag, n, r_e, e=0., theta=0., osfactor=10,
osradius=2):
self.size = size
... | 34.757353 | 80 | 0.557436 |
581e87cd8c48edf05cdc294ab309c5b81a052bee | 8,429 | c | C | model/chem/old/_singh/chem.c | zhanghuanqian/CFDWARP | 9340a8526bb263d910f79d79e84dcac7aec211b6 | [
"BSD-2-Clause"
] | 29 | 2018-09-13T13:58:18.000Z | 2022-03-08T21:44:13.000Z | model/chem/old/_singh/chem.c | zhanghuanqian/CFDWARP | 9340a8526bb263d910f79d79e84dcac7aec211b6 | [
"BSD-2-Clause"
] | 3 | 2020-11-10T11:28:30.000Z | 2021-11-23T09:21:28.000Z | model/chem/old/_singh/chem.c | zhanghuanqian/CFDWARP | 9340a8526bb263d910f79d79e84dcac7aec211b6 | [
"BSD-2-Clause"
] | 20 | 2018-07-26T08:17:37.000Z | 2022-03-04T08:41:55.000Z | // SPDX-License-Identifier: BSD-2-Clause
/*
Copyright 2001 Giovanni Fusina
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of
conditions... | 26.258567 | 88 | 0.57492 |
892b18c7a3272e67a62f0b74b40bd20d013f6233 | 2,196 | kt | Kotlin | app/src/main/java/com/example/mydaiilynews/Common.kt | singhankit67/NewsProject | e922de952bbf84dae3836c1cef68be1eafcc7cf9 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/mydaiilynews/Common.kt | singhankit67/NewsProject | e922de952bbf84dae3836c1cef68be1eafcc7cf9 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/mydaiilynews/Common.kt | singhankit67/NewsProject | e922de952bbf84dae3836c1cef68be1eafcc7cf9 | [
"Apache-2.0"
] | null | null | null | package com.example.mydaiilynews
import android.annotation.SuppressLint
import retrofit2.create
import java.text.ParseException
import java.text.SimpleDateFormat
import java.util.Date
object Common {
val API_KEY = "71a46c4dac0f4761becf0206e7d67f1f"
val BASE_URL = "https://newsapi.org"
//val BASE_URL = "htt... | 36 | 146 | 0.602004 |
856b8b0e4f265e12cdf5bcaf6f9a9ad1849441be | 10,294 | js | JavaScript | public/js/core/core.js | samucaguimaraes/konsig1 | 1c3847bdbe7d62f01fadccfac0d8095524e551a4 | [
"Apache-2.0"
] | 1 | 2018-09-02T02:03:00.000Z | 2018-09-02T02:03:00.000Z | public/js/core/core.js | samucaguimaraes/konsig1 | 1c3847bdbe7d62f01fadccfac0d8095524e551a4 | [
"Apache-2.0"
] | 2 | 2018-09-04T20:31:48.000Z | 2018-09-11T18:44:14.000Z | public/js/core/core.js | samucaguimaraes/konsig1 | 1c3847bdbe7d62f01fadccfac0d8095524e551a4 | [
"Apache-2.0"
] | null | null | null | /**
* A funçao recebe dados no formato descrito e executa a chamada do ajax via post
* var dados = {
* objeto: 'NomeDoObjeto',
* method: 'metodoDoObjeto',
* param1: value,
* param2: value,
* param3: value,
* ...
* };
*... | 24.221176 | 114 | 0.547406 |
6e02d35d240ea617e0e941f74c3f61c95b53e591 | 460 | sql | SQL | api/php_includes_bak/php5/strSplit_function.sql | ojalaquellueva/gnrs | 316c3884acc6f14bf91fabfb1b93b3fa7eb68b62 | [
"MIT"
] | 3 | 2019-02-20T22:49:53.000Z | 2022-01-29T07:11:38.000Z | api/php_includes_bak/mysql/strSplit_function.sql | ojalaquellueva/gnrs | 316c3884acc6f14bf91fabfb1b93b3fa7eb68b62 | [
"MIT"
] | 16 | 2020-04-07T16:38:31.000Z | 2022-01-06T20:57:15.000Z | api/php_includes_bak/php5/strSplit_function.sql | ojalaquellueva/gnrs | 316c3884acc6f14bf91fabfb1b93b3fa7eb68b62 | [
"MIT"
] | null | null | null | -- Custom function strSplit()
-- Splits a string in pieces (tokens) at a specified delimiter and returns the requested token
CREATE FUNCTION `strSplit`(str varchar(255), delim varchar(12), tokenNo int) RETURNS varchar(255) CHARSET utf8
COMMENT 'Splits the string (str) at all delimiters (delim) and returns token number... | 76.666667 | 129 | 0.765217 |
2a05c86ac9f720106575b562d3391fdcc3ca3eeb | 294 | java | Java | src/main/java/com/jungdam/error/exception/s3/FileConverterException.java | prgrms-web-devcourse/team-angelbaby-jungdam-be | 5d9b84fa303ff91efd48bb4647e9ee82ede69f68 | [
"Apache-2.0"
] | 20 | 2021-12-03T13:45:48.000Z | 2022-02-01T17:43:50.000Z | src/main/java/com/jungdam/error/exception/s3/FileConverterException.java | prgrms-web-devcourse/team-angelbaby-jungdam-be | 5d9b84fa303ff91efd48bb4647e9ee82ede69f68 | [
"Apache-2.0"
] | 177 | 2021-12-03T06:22:30.000Z | 2022-02-04T12:10:29.000Z | src/main/java/com/jungdam/error/exception/s3/FileConverterException.java | jung-dam-diary/team-angelbaby-jungdam-be | 2ce7fc0b50ecf688482e5af1d4260334cdeb6ac5 | [
"Apache-2.0"
] | 1 | 2021-12-01T07:25:11.000Z | 2021-12-01T07:25:11.000Z | package com.jungdam.error.exception.s3;
import com.jungdam.error.dto.ErrorMessage;
import com.jungdam.error.exception.BusinessException;
public class FileConverterException extends BusinessException {
public FileConverterException(ErrorMessage message) {
super(message);
}
}
| 24.5 | 63 | 0.789116 |
01429bf8d1becf7115262ab82d51ed3e5e849674 | 3,768 | sql | SQL | dashboards/sql-page-timeframe/DateConversions.sql | admariner/samples-1 | 475bcb333ff2f7b486314827142d32d40b934fb5 | [
"Apache-2.0"
] | 13 | 2021-06-16T20:49:16.000Z | 2022-01-28T22:25:50.000Z | dashboards/sql-page-timeframe/DateConversions.sql | squaredup/samples | 475bcb333ff2f7b486314827142d32d40b934fb5 | [
"Apache-2.0"
] | 14 | 2021-06-16T20:01:09.000Z | 2021-10-18T13:47:07.000Z | dashboards/sql-page-timeframe/DateConversions.sql | admariner/samples-1 | 475bcb333ff2f7b486314827142d32d40b934fb5 | [
"Apache-2.0"
] | 12 | 2021-06-25T15:49:48.000Z | 2022-01-28T02:13:43.000Z | IF OBJECT_ID(N'tempdb..#Native') IS NOT NULL DROP TABLE #Native;
--Create a temporary table to hold our display values
CREATE TABLE #Native ([Description] nvarchar(255)
, [strFormatted] nvarchar(255)
, [asDateTime] datetime
, [timeAgo] datetime
... | 72.461538 | 299 | 0.653397 |
f606d2cef04408943a746d43ce8f73b32573f0e6 | 5,822 | kt | Kotlin | app/src/main/java/com/bruhascended/organiso/ScheduledActivity.kt | ChiragKalra/Organiso | a11504c586b332a476a8496a0f8df995c0dc1e59 | [
"Apache-2.0"
] | 16 | 2020-09-04T08:08:23.000Z | 2022-03-30T20:57:16.000Z | app/src/main/java/com/bruhascended/organiso/ScheduledActivity.kt | Mahendra-Gohil/Organiso | acc7e6ffc4ee9cd30f69733ff42be0ea340da72d | [
"Apache-2.0"
] | 5 | 2020-10-22T20:24:38.000Z | 2022-01-05T10:30:04.000Z | app/src/main/java/com/bruhascended/organiso/ScheduledActivity.kt | Mahendra-Gohil/Organiso | acc7e6ffc4ee9cd30f69733ff42be0ea340da72d | [
"Apache-2.0"
] | 3 | 2020-11-14T16:19:45.000Z | 2021-05-10T10:06:43.000Z | package com.bruhascended.organiso
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.MenuItem
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.ap... | 36.616352 | 100 | 0.627104 |
41afde83d7fe5fab9e20ebe5866cfadfe8ac4c0d | 551 | h | C | SobotKit/SobotKit/UI/zcserver/ZCServiceDetailVC.h | ZCSDK/Sobot_iOS_SDK_Source | f9015e54283ba9ed5186deadb1e2e4d89df91e4a | [
"MIT"
] | 1 | 2018-08-23T11:30:21.000Z | 2018-08-23T11:30:21.000Z | SobotKit/SobotKit/UI/zcserver/ZCServiceDetailVC.h | ZCSDK/Sobot_iOS_SDK_Source | f9015e54283ba9ed5186deadb1e2e4d89df91e4a | [
"MIT"
] | 1 | 2019-10-15T08:23:54.000Z | 2019-10-15T08:23:54.000Z | SobotKit/SobotKit/UI/zcserver/ZCServiceDetailVC.h | ZCSDK/Sobot_iOS_SDK_Source | f9015e54283ba9ed5186deadb1e2e4d89df91e4a | [
"MIT"
] | null | null | null | //
// ZCServiceDetailVC.h
// SobotKit
//
// Created by lizhihui on 2019/4/2.
// Copyright © 2019 zhichi. All rights reserved.
//
#import <SobotKit/SobotKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface ZCServiceDetailVC : ZCUIBaseController
@property (nonatomic,copy) NSString * docId;
@property (nonatomic,copy) NSStri... | 19.678571 | 83 | 0.760436 |
cae5b7c85bd001755004b66dcdd1b230637303a4 | 1,538 | kt | Kotlin | plugins/network/lib/src/main/java/com/pluto/plugins/network/internal/share/ShareOptionsAdapter.kt | rishabhsinghbisht/pluto | 7a07461b6e4db3bc4ded44b97b9b0533c6dadb46 | [
"Apache-2.0"
] | 60 | 2022-02-15T09:32:46.000Z | 2022-03-31T07:26:22.000Z | plugins/network/lib/src/main/java/com/pluto/plugins/network/internal/share/ShareOptionsAdapter.kt | rishabhsinghbisht/pluto | 7a07461b6e4db3bc4ded44b97b9b0533c6dadb46 | [
"Apache-2.0"
] | 6 | 2022-02-14T17:48:28.000Z | 2022-03-27T10:28:52.000Z | plugins/network/lib/src/main/java/com/pluto/plugins/network/internal/share/ShareOptionsAdapter.kt | rishabhsinghbisht/pluto | 7a07461b6e4db3bc4ded44b97b9b0533c6dadb46 | [
"Apache-2.0"
] | 4 | 2022-03-01T01:08:13.000Z | 2022-03-30T09:03:54.000Z | package com.pluto.plugins.network.internal.share
import android.view.ViewGroup
import com.pluto.plugin.utilities.list.BaseAdapter
import com.pluto.plugin.utilities.list.DiffAwareHolder
import com.pluto.plugin.utilities.list.ListItem
import com.pluto.plugins.network.internal.share.holders.ShareHeadingHolder
import com.... | 40.473684 | 92 | 0.722367 |
d91a84acaf194629807e96445f9997407cfa580c | 875 | kt | Kotlin | app/src/main/java/com/example/anticovid/ui/main/MainViewModel.kt | KMoszczyc/Anticovid | b4f11125de1f76406d4f902a64914a5c842fd9bb | [
"MIT"
] | null | null | null | app/src/main/java/com/example/anticovid/ui/main/MainViewModel.kt | KMoszczyc/Anticovid | b4f11125de1f76406d4f902a64914a5c842fd9bb | [
"MIT"
] | null | null | null | app/src/main/java/com/example/anticovid/ui/main/MainViewModel.kt | KMoszczyc/Anticovid | b4f11125de1f76406d4f902a64914a5c842fd9bb | [
"MIT"
] | null | null | null | package com.example.anticovid.ui.main
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.example.anticovid.data.repository.LoginRepository
class MainViewModel : ViewModel() {
private val loginRepository = LoginRepository()
private val ... | 29.166667 | 72 | 0.76 |
04159737e97af1a86b6600b63059e5f6036cd015 | 16,724 | js | JavaScript | CoreConceptsJs/2.0/CcObject.js | spatial-ucsb/ConceptsOfSpatialInformation | 73d54a37ced14bc5ecb064f9d1ab8b1af8cd3c5a | [
"Apache-2.0"
] | 18 | 2015-03-03T22:57:20.000Z | 2020-06-17T10:17:58.000Z | CoreConceptsJs/2.0/CcObject.js | spatial-ucsb/ConceptsOfSpatialInformation | 73d54a37ced14bc5ecb064f9d1ab8b1af8cd3c5a | [
"Apache-2.0"
] | 1 | 2017-02-23T20:06:06.000Z | 2017-02-23T20:06:06.000Z | CoreConceptsJs/2.0/CcObject.js | spatial-ucsb/ConceptsOfSpatialInformation | 73d54a37ced14bc5ecb064f9d1ab8b1af8cd3c5a | [
"Apache-2.0"
] | 16 | 2015-02-13T02:05:36.000Z | 2018-09-07T04:02:13.000Z | /**
* JavaScript implementation of the core concept 'object'.
* The implementation has migrated from ArcGIS JavaScript API 3.x to 4.x
* version: 2.0.0
* (c) Liangcun Jiang
* latest change: July 27, 2017.
* Dev Notes: Use GeometryEngine instead of GeometryService
*/
define(["dojo/_base/declare",
"esri/layers/... | 50.678788 | 135 | 0.509507 |
bd87b06e23017bba9a8291d1ae6dd1edb575514b | 10,857 | swift | Swift | TestLBC/Views/DetailsAnnounceViewController.swift | aymen-gazdar/test_lbc | a80e7d586f2d2eda46f84a5648c585b3617486f7 | [
"Unlicense"
] | null | null | null | TestLBC/Views/DetailsAnnounceViewController.swift | aymen-gazdar/test_lbc | a80e7d586f2d2eda46f84a5648c585b3617486f7 | [
"Unlicense"
] | null | null | null | TestLBC/Views/DetailsAnnounceViewController.swift | aymen-gazdar/test_lbc | a80e7d586f2d2eda46f84a5648c585b3617486f7 | [
"Unlicense"
] | null | null | null | //
// DetailsAnnounceViewController.swift
// TestLBC
//
// Created by Aymen on 09/03/2021.
//
import UIKit
class DetailsAnnounceViewController: UIViewController {
//MARK: var let
var announce: Announce? {
didSet {
self.setupAnnounceInfo()
}
}
static let kPadin... | 45.617647 | 148 | 0.725707 |
1a2be726f0342cdc0c637c8e4d3c28d0ef470c69 | 3,520 | rs | Rust | src/cpu.rs | liushiqi/riscv-simulator | d05f060b2544da61a7ce39ebc9c7035bc3bfbd93 | [
"MIT"
] | null | null | null | src/cpu.rs | liushiqi/riscv-simulator | d05f060b2544da61a7ce39ebc9c7035bc3bfbd93 | [
"MIT"
] | null | null | null | src/cpu.rs | liushiqi/riscv-simulator | d05f060b2544da61a7ce39ebc9c7035bc3bfbd93 | [
"MIT"
] | null | null | null | use std::{
io::{stderr, Write},
ops::Range,
path::PathBuf,
};
use crate::{
device::{Bus, ReqType},
inst::decode_instruction,
isa::{Extension, Isa, XLen},
reg_file::{RegFile, RegIndex},
SimulateResult,
};
pub(crate) enum PcLength {
Four,
#[allow(unused)]
Two,
}
pub struct Cpu {
regs: RegFile<u... | 25.693431 | 117 | 0.584943 |
3eea757f6baf4282863b9948b7894240765803ff | 299 | h | C | magpie/platforms/ios/Magpie.framework/Headers/MagpieAppController.h | Acidburn0zzz/magpie | 5cc04b23babfb34b44ea57c4028d73089c6a5a2b | [
"Apache-2.0"
] | 8 | 2015-05-19T09:41:36.000Z | 2016-12-09T05:47:48.000Z | magpie/platforms/ios/Magpie.framework/Headers/MagpieAppController.h | floatinghotpot/magpie | 5cc04b23babfb34b44ea57c4028d73089c6a5a2b | [
"Apache-2.0"
] | 1 | 2015-11-18T15:07:27.000Z | 2015-11-18T15:07:27.000Z | magpie/platforms/ios/Magpie.framework/Headers/MagpieAppController.h | floatinghotpot/magpie | 5cc04b23babfb34b44ea57c4028d73089c6a5a2b | [
"Apache-2.0"
] | 2 | 2015-05-19T09:41:37.000Z | 2015-06-14T17:38:03.000Z |
#import <UIKit/UIKit.h>
@interface MagpieAppController : NSObject <UIApplicationDelegate> {
}
// orientation of the game
- (void) setLandscape:(BOOL) landscape;
// get window bounds for GL view
- (CGRect) getWindowBounds;
// add GL view to window
- (void) setMainView:(UIView*) theview;
@end
| 16.611111 | 67 | 0.722408 |
f05b7050495370891bf951394304c4e6b993404b | 864 | py | Python | Algorithms/MostCommonWord/mostCommonWord.py | riddhi-27/HacktoberFest2020-Contributions | 0a5c39169723b3ea3b6447d4005896900dd789bc | [
"MIT"
] | null | null | null | Algorithms/MostCommonWord/mostCommonWord.py | riddhi-27/HacktoberFest2020-Contributions | 0a5c39169723b3ea3b6447d4005896900dd789bc | [
"MIT"
] | null | null | null | Algorithms/MostCommonWord/mostCommonWord.py | riddhi-27/HacktoberFest2020-Contributions | 0a5c39169723b3ea3b6447d4005896900dd789bc | [
"MIT"
] | null | null | null | """Returns words from the given paragraph which has been repeated most,
incase of more than one words, latest most common word is returned. """
import string
def mostCommonWord(paragraph: str) -> str:
# translate function maps every punctuation in given string to white space
words = paragraph.translate(st... | 34.56 | 125 | 0.66088 |
cfffc6ddf83029fe9f639751f607aa981fcbf46a | 2,814 | lua | Lua | projects/Phantom.JIT/Phantom.JIT.premake.lua | vlmillet/Phantom.JIT | c3a880ace39f41307325e93f05a55617cddd9b5d | [
"MIT"
] | 11 | 2021-11-16T13:51:16.000Z | 2022-03-15T08:11:33.000Z | projects/Phantom.JIT/Phantom.JIT.premake.lua | vlmillet/Phantom.JIT | c3a880ace39f41307325e93f05a55617cddd9b5d | [
"MIT"
] | null | null | null | projects/Phantom.JIT/Phantom.JIT.premake.lua | vlmillet/Phantom.JIT | c3a880ace39f41307325e93f05a55617cddd9b5d | [
"MIT"
] | 2 | 2021-11-16T13:51:18.000Z | 2021-11-17T02:33:16.000Z |
Phantom_lib("Phantom.JIT", { "Phantom.Code" } -- DEPENDENCIES
,
function(Vars) -- include public
end
,
function(Vars) -- include private
defines
{
"PHANTOM_LIB_PHANTOM_JIT",
"_CRT_SECURE_NO_WARNINGS"
}
local LLVMRoot = "dependencies/LLVM/"
includedirs {
LLVMRoot .. "include",
}
files... | 27.861386 | 699 | 0.692964 |
bd2b11ea9992b74f61c053d911dfcaa524bea0f4 | 34,525 | rs | Rust | pic32mx274fxxxb/src/usb.rs | kiffie/pic32-pac | 0fffed8d71d1f9c7087ca7ada9141098faeb3401 | [
"MIT"
] | 2 | 2020-09-06T13:05:34.000Z | 2021-05-24T19:53:51.000Z | pic32mx274fxxxb/src/usb.rs | kiffie/pic32-pac | 0fffed8d71d1f9c7087ca7ada9141098faeb3401 | [
"MIT"
] | 2 | 2020-09-04T21:25:50.000Z | 2020-09-08T18:50:33.000Z | pic32mx2xxfxxxb/src/usb.rs | kiffie/pic32-pac | 0fffed8d71d1f9c7087ca7ada9141098faeb3401 | [
"MIT"
] | 2 | 2021-08-01T15:10:08.000Z | 2021-09-22T21:59:49.000Z | #[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
#[doc = "0x00 - U1OTGIR register"]
pub u1otgir: crate::Reg<u1otgir::U1OTGIR_SPEC>,
#[doc = "0x04 - U1OTGIRCLR register"]
pub u1otgirclr: crate::Reg<u1otgirclr::U1OTGIRCLR_SPEC>,
_reserved2: [u8; 8usize],
#[doc = "0x10 - U1OTGIE reg... | 44.837662 | 78 | 0.707893 |
b0a289433f9e30d5c52f6d5529bdd54390017928 | 1,174 | kt | Kotlin | app/src/main/java/com/anangkur/adapterplayground/AppAdapter.kt | sampingantech/adapter-delegate-playground | 50db5d39c3d6f4b174c47b2dea2e2c9a12bde9d3 | [
"MIT"
] | 11 | 2020-10-08T14:13:17.000Z | 2022-01-23T18:00:22.000Z | app/src/main/java/com/anangkur/adapterplayground/AppAdapter.kt | sampingantech/adapter-delegate-playground | 50db5d39c3d6f4b174c47b2dea2e2c9a12bde9d3 | [
"MIT"
] | null | null | null | app/src/main/java/com/anangkur/adapterplayground/AppAdapter.kt | sampingantech/adapter-delegate-playground | 50db5d39c3d6f4b174c47b2dea2e2c9a12bde9d3 | [
"MIT"
] | 3 | 2021-07-07T08:17:50.000Z | 2022-01-07T17:18:07.000Z | package com.anangkur.adapterplayground
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.anangkur.adapterplayground.databinding.ItemAppBinding
import com.anangkur.adapterplayground.model.App
class AppAdapter: RecyclerView.Adapter<AppAdapter.Ap... | 30.894737 | 107 | 0.706985 |
ab595ca45ca77a0e814607494f3eada4b483edf9 | 2,096 | kt | Kotlin | RecyclerMultiView/app/src/main/java/com/samruddhi/recyclermultiview/GalleryAdapter.kt | MuralikrishnaGS/Android-Jetpack-Components | 9bbd4118630966ec6cee9cf8b77bc24840e43065 | [
"MIT"
] | null | null | null | RecyclerMultiView/app/src/main/java/com/samruddhi/recyclermultiview/GalleryAdapter.kt | MuralikrishnaGS/Android-Jetpack-Components | 9bbd4118630966ec6cee9cf8b77bc24840e43065 | [
"MIT"
] | null | null | null | RecyclerMultiView/app/src/main/java/com/samruddhi/recyclermultiview/GalleryAdapter.kt | MuralikrishnaGS/Android-Jetpack-Components | 9bbd4118630966ec6cee9cf8b77bc24840e43065 | [
"MIT"
] | null | null | null | package com.samruddhi.recyclermultiview
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import androidx.recyclerview.widget.RecyclerView
import java.util.*
class GalleryAdapter(var galleryItemsList: ArrayList<Gall... | 36.137931 | 101 | 0.706107 |
27f787a500b6fc64fbfc4fc9963189e3804ae2fc | 469 | css | CSS | baoming/webapp/static/css/responsive-table.css | hanxiaoshun/RegistrationSystem | 2f7310508fc1725e96fe941b1062ce7f26f265a4 | [
"Apache-2.0"
] | null | null | null | baoming/webapp/static/css/responsive-table.css | hanxiaoshun/RegistrationSystem | 2f7310508fc1725e96fe941b1062ce7f26f265a4 | [
"Apache-2.0"
] | 14 | 2020-06-06T01:24:24.000Z | 2022-03-12T00:17:22.000Z | baoming/webapp/static/css/responsive-table.css | hanxiaoshun/RegistrationSystem | 2f7310508fc1725e96fe941b1062ce7f26f265a4 | [
"Apache-2.0"
] | null | null | null | .scroll_tablex {
width: 100%;
overflow-y: scroll;
}
.scroll_tablex table {
width: auto;
min-width: 100%;
border: 1px solid #e4e4e4;
border-collapse: collapse;
border-spacing: inherit;
white-space: nowrap;
}
.scroll_tablex table tr td {
border: 1px solid #e4e4e4;
padding: 5px;
... | 18.76 | 30 | 0.622601 |
41232623c6eb98b3bfec653c5fbf0f3bf19932d2 | 2,506 | h | C | code/tools/gtkradiant/radiant/select.h | raynorpat/xreal | 2fcbf9179fa22dc6e808bb65b879ac2ee7616ebd | [
"BSD-3-Clause"
] | 11 | 2016-06-03T07:46:15.000Z | 2021-09-09T19:35:32.000Z | code/tools/gtkradiant/radiant/select.h | raynorpat/xreal | 2fcbf9179fa22dc6e808bb65b879ac2ee7616ebd | [
"BSD-3-Clause"
] | 1 | 2016-10-14T23:06:19.000Z | 2016-10-14T23:06:19.000Z | code/tools/gtkradiant/radiant/select.h | raynorpat/xreal | 2fcbf9179fa22dc6e808bb65b879ac2ee7616ebd | [
"BSD-3-Clause"
] | 5 | 2016-10-13T04:43:58.000Z | 2019-08-24T14:03:35.000Z | /*
Copyright (C) 1999-2006 Id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
GtkRadiant is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | 27.23913 | 88 | 0.763767 |
161fdb798166b24fa467cf6a38ada66759948cdf | 301 | ts | TypeScript | src/todo/dto/todo.input.ts | Ritvik-Gupta/Todos-List | bedc03cb28b8f775c4f98365297ee6c7d2ed6f92 | [
"MIT"
] | 1 | 2021-05-07T11:11:08.000Z | 2021-05-07T11:11:08.000Z | src/todo/dto/todo.input.ts | Ritvik-Gupta/Todos-List | bedc03cb28b8f775c4f98365297ee6c7d2ed6f92 | [
"MIT"
] | null | null | null | src/todo/dto/todo.input.ts | Ritvik-Gupta/Todos-List | bedc03cb28b8f775c4f98365297ee6c7d2ed6f92 | [
"MIT"
] | null | null | null | import { TodoEntity } from "$/entities"
import { Field, InputType } from "@nestjs/graphql"
import { Length, MinLength } from "class-validator"
@InputType()
export class TodoInput implements Partial<TodoEntity> {
@Field()
@Length(5, 100)
title: string
@Field()
@MinLength(10)
content: string
}
| 20.066667 | 55 | 0.714286 |
510154bacc89e0529e5ee38ab7be24991604cea9 | 27,172 | h | C | resources/ui/data/im_logo.dat.h | jpcima/cws80 | ce37a49caed50a4b7baccfed288c2f5555af91c7 | [
"BSL-1.0"
] | 4 | 2019-05-20T19:27:09.000Z | 2019-11-03T04:21:53.000Z | resources/ui/data/im_logo.dat.h | jpcima/cws80 | ce37a49caed50a4b7baccfed288c2f5555af91c7 | [
"BSL-1.0"
] | 5 | 2019-05-21T12:56:22.000Z | 2019-06-23T21:33:33.000Z | resources/ui/data/im_logo.dat.h | jpcima/cws80 | ce37a49caed50a4b7baccfed288c2f5555af91c7 | [
"BSL-1.0"
] | null | null | null | // BEGIN "logo.png"
0x89,0x50,0x4E,0x47,0x0D,0x0A,0x1A,0x0A,0x00,0x00,0x00,0x0D,0x49,0x48,0x44,0x52,
0x00,0x00,0x00,0xB8,0x00,0x00,0x00,0x39,0x08,0x06,0x00,0x00,0x00,0x85,0xDF,0xE1,
0xBA,0x00,0x00,0x00,0x04,0x73,0x42,0x49,0x54,0x08,0x08,0x08,0x08,0x7C,0x08,0x64,
0x88,0x00,0x00,0x00,0x09,0x70,0x48,0x59,0x73,0x00,0x00,0x... | 78.305476 | 80 | 0.788974 |
1f3bfb4eb204916dd683dfaca6414b3bb7610a0a | 86,234 | css | CSS | public/static/plugins/iconfont/iconfont.css | bidcms/dsmall | f93b85afeb5518213ea04910fea9deb155e0141a | [
"Apache-2.0"
] | 1 | 2020-07-18T10:50:17.000Z | 2020-07-18T10:50:17.000Z | public/static/plugins/iconfont/iconfont.css | bidcms/dsmall | f93b85afeb5518213ea04910fea9deb155e0141a | [
"Apache-2.0"
] | 1 | 2022-02-13T08:55:15.000Z | 2022-02-13T08:55:15.000Z | public/static/plugins/iconfont/iconfont.css | bidcms/dsmall | f93b85afeb5518213ea04910fea9deb155e0141a | [
"Apache-2.0"
] | 1 | 2021-12-14T16:00:18.000Z | 2021-12-14T16:00:18.000Z | @font-face {font-family: "iconfont";
src: url('iconfont.eot?t=1558687386614'); /* IE9 */
src: url('iconfont.eot?t=1558687386614#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAMecAAsAAAABgkQAAMdJAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCqbAqFnQS... | 59.308116 | 68,213 | 0.898659 |
d2c95a8bdab85a2f2a4277d810c6fbc1f0dc9552 | 402 | php | PHP | app/Models/Kecamatan.php | regesaga/dropdown-KUNINGAN | 6382ed07f29e5d12b71780bd5441ae222cd1b79f | [
"MIT"
] | null | null | null | app/Models/Kecamatan.php | regesaga/dropdown-KUNINGAN | 6382ed07f29e5d12b71780bd5441ae222cd1b79f | [
"MIT"
] | null | null | null | app/Models/Kecamatan.php | regesaga/dropdown-KUNINGAN | 6382ed07f29e5d12b71780bd5441ae222cd1b79f | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Kecamatan extends Model
{
use HasFactory;
protected $table = 'tbl_kecamatan';
protected $fillable = [
'kec_nama',
'kec_kab'
];
protected $primaryKey = '... | 20.1 | 54 | 0.679104 |
c46ffa56c8f92102caa1eb4574165ea549a3ac35 | 329 | h | C | Kmoji-objc/KMMyEmotionViewController.h | fantaxy/MUA | e713cc4aef8c5dffe33d502b71fa0becacd42f7c | [
"MIT"
] | null | null | null | Kmoji-objc/KMMyEmotionViewController.h | fantaxy/MUA | e713cc4aef8c5dffe33d502b71fa0becacd42f7c | [
"MIT"
] | null | null | null | Kmoji-objc/KMMyEmotionViewController.h | fantaxy/MUA | e713cc4aef8c5dffe33d502b71fa0becacd42f7c | [
"MIT"
] | null | null | null | //
// KMSettingViewController.h
// Kmoji-objc
//
// Created by yangx2 on 10/18/14.
// Copyright (c) 2014 yang. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "KMEmotionGridView.h"
@interface KMMyEmotionViewController : UIViewController <UITableViewDataSource, UITableViewDelegate, KMEmotionGridViewDelegat... | 21.933333 | 127 | 0.759878 |
1e7136a41392ab8a23145febaaf1925af063b44a | 7,549 | asm | Assembly | Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_2247.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_2247.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_2247.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1a2c7, %rsi
lea addresses_A_ht+0xb967, %rdi
nop
nop
nop
nop
add %rdx, %rdx
mov $34, %rcx
rep movsb
nop
sub $7283, %r9
lea addresses_normal_ht+0xafe7, %r13
nop
nop
nop
inc %ra... | 36.468599 | 2,999 | 0.659028 |
f596926766260f25d11afd3d03cb8e8cc96ff8ea | 3,108 | kt | Kotlin | src/main/java/net/eduard/api/core/BukkitReplacers.kt | EduardMaster/EduardAPI | e9f5fcff5bcda4ac18d21b739fc0e462a7254cf8 | [
"MIT"
] | 11 | 2019-04-11T18:10:43.000Z | 2021-08-20T07:19:01.000Z | src/main/java/net/eduard/api/core/BukkitReplacers.kt | EduardMaster/EduardAPI | e9f5fcff5bcda4ac18d21b739fc0e462a7254cf8 | [
"MIT"
] | 1 | 2020-11-03T19:10:49.000Z | 2020-11-03T19:10:49.000Z | src/main/java/net/eduard/api/core/BukkitReplacers.kt | EduardMaster/EduardAPI | e9f5fcff5bcda4ac18d21b739fc0e462a7254cf8 | [
"MIT"
] | 7 | 2019-09-18T19:07:24.000Z | 2021-07-16T02:21:54.000Z | package net.eduard.api.core
import net.eduard.api.lib.kotlin.format
import net.eduard.api.lib.modules.Extra
import net.eduard.api.lib.modules.Mine
import net.eduard.api.lib.modules.VaultAPI
import org.bukkit.Statistic
/**
* Registrando os replacers mais usados na Displayboard
*
* @author Eduard
*/
class BukkitRe... | 44.4 | 112 | 0.606499 |
2a63c430d936837d21aceee2a65e59f3fe51c1ac | 1,002 | java | Java | sdk/apimanagement/azure-resourcemanager-apimanagement/src/samples/java/com/azure/resourcemanager/apimanagement/generated/ApiManagementServiceGetDomainOwnershipIdentifierSamples.java | billwert/azure-sdk-for-java | f907d9027d253cdfb37850852cf9cfe500d5c1f6 | [
"MIT"
] | 1 | 2022-01-08T06:43:30.000Z | 2022-01-08T06:43:30.000Z | sdk/apimanagement/azure-resourcemanager-apimanagement/src/samples/java/com/azure/resourcemanager/apimanagement/generated/ApiManagementServiceGetDomainOwnershipIdentifierSamples.java | billwert/azure-sdk-for-java | f907d9027d253cdfb37850852cf9cfe500d5c1f6 | [
"MIT"
] | null | null | null | sdk/apimanagement/azure-resourcemanager-apimanagement/src/samples/java/com/azure/resourcemanager/apimanagement/generated/ApiManagementServiceGetDomainOwnershipIdentifierSamples.java | billwert/azure-sdk-for-java | f907d9027d253cdfb37850852cf9cfe500d5c1f6 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.apimanagement.generated;
import com.azure.core.util.Context;
/** Samples for ApiManagementService GetDomainOwnershipIdentifier.... | 41.75 | 176 | 0.787425 |
ddc34ca1286ef761ff4285a9f64c30c2000cd6a9 | 2,610 | php | PHP | backend/components/tableGenerate_plate.php | NomarZwill/samalco.yii.ru | 4c86cf0ff062f55eea747bccd1991802cec53110 | [
"BSD-3-Clause"
] | null | null | null | backend/components/tableGenerate_plate.php | NomarZwill/samalco.yii.ru | 4c86cf0ff062f55eea747bccd1991802cec53110 | [
"BSD-3-Clause"
] | null | null | null | backend/components/tableGenerate_plate.php | NomarZwill/samalco.yii.ru | 4c86cf0ff062f55eea747bccd1991802cec53110 | [
"BSD-3-Clause"
] | null | null | null | <?php
exit;
// Запуск скрипта в SSH следующей командой:
// /usr/bin/php -f /var/www/samalco.ru/assets/parser/tableGenerate_plate.php
$aluFormType = "plates";
$balanceMin = 3; $balanceMax = 100; $balanceIncrement = 1;
$priceMin = 110; $priceMax = 150; $priceIncrement = 1;
//----------------------
$alloys = array("А... | 51.176471 | 352 | 0.570115 |
162a7fbfd370bb87f944ce40d9a011655896b6ec | 736 | ts | TypeScript | src/shared/components/gameState.ts | MamFarta/haxvolleyball | a3bd6fda1b606abf94d89630b13a854be5bf5e1b | [
"MIT"
] | null | null | null | src/shared/components/gameState.ts | MamFarta/haxvolleyball | a3bd6fda1b606abf94d89630b13a854be5bf5e1b | [
"MIT"
] | null | null | null | src/shared/components/gameState.ts | MamFarta/haxvolleyball | a3bd6fda1b606abf94d89630b13a854be5bf5e1b | [
"MIT"
] | null | null | null | import Player from 'shared/components/player';
import Ball from 'shared/components/ball';
import Net from 'shared/components/net';
export default class GameState {
private players:Player[];
private ball?:Ball;
private net: Net;
constructor(players: Player[]) {
this.players = players;
this.net = new ... | 17.95122 | 59 | 0.642663 |
75082dfbf3470b1fc6fbccd24d99b72bebdca401 | 365 | h | C | Example/Example/Stock/View/FSStockTextCell.h | zhangzhongyan/FSGridView | 12a1b7f9178559a8bcd574693fb61b2a447e03c9 | [
"MIT"
] | 10 | 2020-06-05T09:29:19.000Z | 2022-02-25T10:22:59.000Z | Example/Example/Stock/View/FSStockTextCell.h | zhangzhongyan/FSGridView | 12a1b7f9178559a8bcd574693fb61b2a447e03c9 | [
"MIT"
] | 5 | 2021-01-10T21:46:01.000Z | 2021-10-09T04:26:42.000Z | Example/Example/Stock/View/FSStockTextCell.h | zhangzhongyan/FSGridView | 12a1b7f9178559a8bcd574693fb61b2a447e03c9 | [
"MIT"
] | 1 | 2022-02-25T10:23:01.000Z | 2022-02-25T10:23:01.000Z | //
// FSStockTextCell.h
// Example
//
// Created by 张忠燕 on 2020/5/30.
// Copyright © 2020 张忠燕. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/// 股票表格右侧文本Cell
@interface FSStockTextCell : UICollectionViewCell
/// 文本
@property (nonatomic, strong, readonly) UILabel *label;
/// 高度
+ (CGFl... | 14.6 | 55 | 0.715068 |
b906f59a20b7ecfca4bba4db22dece3ef1a5f075 | 970 | h | C | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/EmotionCacher.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-03-29T12:08:37.000Z | 2021-05-26T05:20:11.000Z | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/EmotionCacher.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | null | null | null | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/EmotionCacher.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-04-17T03:24:04.000Z | 2022-03-30T05:42:17.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
@class NSMutableDictionary;
@protocol OS_dispatch_queue;
@interface EmotionCacher : NSObject
{
NSMutabl... | 26.216216 | 90 | 0.740206 |
7a70f9f8a233b6bc89d0f5a313d03663157274b3 | 35,701 | rb | Ruby | google/ads/googleads/v8/googleads-ruby/proto_docs/google/ads/googleads/v8/common/criteria.rb | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 7 | 2021-02-21T10:39:41.000Z | 2021-12-07T07:31:28.000Z | google/ads/googleads/v8/googleads-ruby/proto_docs/google/ads/googleads/v8/common/criteria.rb | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 6 | 2021-02-02T23:46:11.000Z | 2021-11-15T01:46:02.000Z | google/ads/googleads/v8/googleads-ruby/proto_docs/google/ads/googleads/v8/common/criteria.rb | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 4 | 2021-01-28T23:25:45.000Z | 2021-08-30T01:55:16.000Z | # frozen_string_literal: true
# Copyright 2021 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 applicabl... | 44.963476 | 121 | 0.58721 |
266bf21cb131b9d67a785efb28f270d3a4e12e75 | 8,105 | java | Java | src/main/java/de/eradszewski/fluxvideostreamservice/services/impl/FileStorageService.java | eradszewski/flux-video-stream-service | d0310b5d5435b8f40318fc4b24c8b93a8814e559 | [
"Apache-2.0"
] | null | null | null | src/main/java/de/eradszewski/fluxvideostreamservice/services/impl/FileStorageService.java | eradszewski/flux-video-stream-service | d0310b5d5435b8f40318fc4b24c8b93a8814e559 | [
"Apache-2.0"
] | 1 | 2019-05-17T13:26:25.000Z | 2019-05-18T17:03:40.000Z | src/main/java/de/eradszewski/fluxvideostreamservice/services/impl/FileStorageService.java | eradszewski/flux-video-stream-service | d0310b5d5435b8f40318fc4b24c8b93a8814e559 | [
"Apache-2.0"
] | null | null | null | package de.eradszewski.fluxvideostreamservice.services.impl;
import de.eradszewski.fluxvideostreamservice.config.FileStorageProperties;
import de.eradszewski.fluxvideostreamservice.exceptions.FileNotFoundException;
import de.eradszewski.fluxvideostreamservice.exceptions.FileStorageException;
import org.slf4j.Logger;
i... | 42.657895 | 140 | 0.595312 |
9df9f67d2ff0601f96bd771aca637ea9496328eb | 485 | kt | Kotlin | src/main/java/tripway/server/models/api/PointRequest.kt | NikitaBurtelov/Tripway-Spring-Server | a2b4434a9b75631772d84f3f5ddda96c6a899415 | [
"Apache-2.0"
] | null | null | null | src/main/java/tripway/server/models/api/PointRequest.kt | NikitaBurtelov/Tripway-Spring-Server | a2b4434a9b75631772d84f3f5ddda96c6a899415 | [
"Apache-2.0"
] | 2 | 2021-05-04T16:02:40.000Z | 2021-05-19T16:49:18.000Z | src/main/java/tripway/server/models/api/PointRequest.kt | NikitaBurtelov/Tripway-Spring-Server | a2b4434a9b75631772d84f3f5ddda96c6a899415 | [
"Apache-2.0"
] | null | null | null | package tripway.server.models.api
import com.fasterxml.jackson.annotation.JsonProperty
data class PointRequest(
val id: Long,
val name: String,
val description: String?,
@JsonProperty("trip_name")
val tripName: String?,
@JsonProperty("trip_id")
val tripId: Long?... | 25.526316 | 52 | 0.628866 |
4a79668caa6325b5cda8398f7ec61f01e280d3fc | 549 | kt | Kotlin | mobile/src/main/java/com/ctyeung/runyasso800/room/steps/StepRepository.kt | yeuchi/RunYasso800 | e90c1913fafe33baacba680893889d74ec810098 | [
"MIT"
] | 3 | 2019-12-27T01:21:30.000Z | 2020-05-12T19:04:40.000Z | mobile/src/main/java/com/ctyeung/runyasso800/room/steps/StepRepository.kt | yeuchi/RunYasso800 | e90c1913fafe33baacba680893889d74ec810098 | [
"MIT"
] | null | null | null | mobile/src/main/java/com/ctyeung/runyasso800/room/steps/StepRepository.kt | yeuchi/RunYasso800 | e90c1913fafe33baacba680893889d74ec810098 | [
"MIT"
] | null | null | null | package com.ctyeung.runyasso800.room.steps
import androidx.lifecycle.LiveData
import javax.inject.Inject
class StepRepository @Inject constructor(private val stepDao: StepDao)
{
var steps:LiveData<List<Step>> = stepDao.getAll()
fun query(splitIndex:Int):List<Step> {
return stepDao.getBySplit(splitInd... | 18.931034 | 70 | 0.661202 |
b013d6621fd48e57ccb3931b4185b000e7a1ca78 | 3,050 | rs | Rust | chain-storage/benches/jellyfish.rs | trevor-crypto/thaler | 945bb91da28c4ee022c5a653296f6ffbb1a5576c | [
"Apache-2.0"
] | 144 | 2019-03-20T03:24:43.000Z | 2020-10-06T00:11:30.000Z | chain-storage/benches/jellyfish.rs | trevor-crypto/thaler | 945bb91da28c4ee022c5a653296f6ffbb1a5576c | [
"Apache-2.0"
] | 2,183 | 2019-03-20T04:18:14.000Z | 2020-10-19T07:41:42.000Z | chain-storage/benches/jellyfish.rs | trevor-crypto/thaler | 945bb91da28c4ee022c5a653296f6ffbb1a5576c | [
"Apache-2.0"
] | 75 | 2019-03-20T08:08:42.000Z | 2020-10-18T14:49:18.000Z | use criterion::{criterion_group, criterion_main, Bencher, Criterion};
use chain_core::state::account::{StakedState, StakedStateAddress};
use chain_storage::buffer::MemStore;
use chain_storage::jellyfish::{get_with_proof, put_stakings, Version};
fn bench_insert_256(b: &mut Bencher) {
let stakings = (0x00u8..=0x0fu... | 32.795699 | 86 | 0.52459 |
8e79e6d7b873e56d5b9eb19c93a606d512d8da3c | 2,374 | rb | Ruby | lib/parser.rb | metamorph/taskwarrior-journal | 21d6dc226351b5ab08d3c98a281b90d9408e3c8b | [
"Apache-2.0"
] | 1 | 2019-09-29T20:19:50.000Z | 2019-09-29T20:19:50.000Z | lib/parser.rb | metamorph/taskwarrior-journal | 21d6dc226351b5ab08d3c98a281b90d9408e3c8b | [
"Apache-2.0"
] | null | null | null | lib/parser.rb | metamorph/taskwarrior-journal | 21d6dc226351b5ab08d3c98a281b90d9408e3c8b | [
"Apache-2.0"
] | null | null | null | # Takes a stream of JSON entries as
# in format produced by the +taskwarrior+ export
# command.
#
# The entries are converted to a sequence of
# Tasks.
#
# filter: modified.after:<date>
#
module TaskWarrior
module Parser
class Task
attr_reader :id,
:status,
:description,
... | 24.989474 | 94 | 0.471356 |
4e472616766dd55b67d976975faf088f0fcd0bd7 | 1,624 | swift | Swift | FourCubed/NetworkServices/VenueModel.swift | PNadiadhara/FourCubed | afeb851a3f92f5617bf5a2216344c9a3ff12fabe | [
"MIT"
] | null | null | null | FourCubed/NetworkServices/VenueModel.swift | PNadiadhara/FourCubed | afeb851a3f92f5617bf5a2216344c9a3ff12fabe | [
"MIT"
] | null | null | null | FourCubed/NetworkServices/VenueModel.swift | PNadiadhara/FourCubed | afeb851a3f92f5617bf5a2216344c9a3ff12fabe | [
"MIT"
] | 2 | 2019-02-08T21:48:17.000Z | 2019-02-08T22:12:28.000Z | //
// VenueModel.swift
// FourCubed
//
// Created by TingxinLi on 2/19/19.
// Copyright © 2019 Pritesh Nadiadhara. All rights reserved.
//
import Foundation
final class VenuesModel {
private static let filename = "VenuesList.plist"
private static var venusData = [Favorite]()
static func save... | 28 | 95 | 0.567118 |
f2b8275e20da0135192de3d76297951360a9a6fa | 2,104 | kt | Kotlin | app/autodiscovery/src/main/java/com/fsck/k9/autodiscovery/srvrecords/SrvServiceDiscovery.kt | ufarooq/k-9 | f414d4788c3a700dd0bd16632d8bc06bac527ea8 | [
"Apache-2.0"
] | null | null | null | app/autodiscovery/src/main/java/com/fsck/k9/autodiscovery/srvrecords/SrvServiceDiscovery.kt | ufarooq/k-9 | f414d4788c3a700dd0bd16632d8bc06bac527ea8 | [
"Apache-2.0"
] | null | null | null | app/autodiscovery/src/main/java/com/fsck/k9/autodiscovery/srvrecords/SrvServiceDiscovery.kt | ufarooq/k-9 | f414d4788c3a700dd0bd16632d8bc06bac527ea8 | [
"Apache-2.0"
] | null | null | null | package com.fsck.k9.autodiscovery.srvrecords
import com.fsck.k9.autodiscovery.ConnectionSettings
import com.fsck.k9.autodiscovery.ConnectionSettingsDiscovery
import com.fsck.k9.helper.EmailHelper
import com.fsck.k9.mail.AuthType
import com.fsck.k9.mail.ConnectionSecurity
import com.fsck.k9.mail.ServerSettings
class S... | 34.491803 | 120 | 0.638783 |
f1cfbefffbb1cee4fe6a662c34a007a1fc5f6412 | 2,556 | swift | Swift | Xoshem/ForecastLocationViewController+CollectionView.swift | patagonia2019/xoshem | a708d505cb38f0169026f7787eff4e7e88410c6f | [
"CC-BY-3.0"
] | 1 | 2020-10-23T21:24:12.000Z | 2020-10-23T21:24:12.000Z | Xoshem/ForecastLocationViewController+CollectionView.swift | southfox/xoshem | a708d505cb38f0169026f7787eff4e7e88410c6f | [
"CC-BY-3.0"
] | null | null | null | Xoshem/ForecastLocationViewController+CollectionView.swift | southfox/xoshem | a708d505cb38f0169026f7787eff4e7e88410c6f | [
"CC-BY-3.0"
] | null | null | null | //
// ForecastLocationViewController+CollectionView.swift
// Xoshem
//
// Created by javierfuchs on 7/20/17.
// Copyright © 2017 Fuchs. All rights reserved.
//
import Foundation
extension ForecastLocationViewController : UICollectionViewDelegate {
// Uncomment this method to specify if the specified item sho... | 32.769231 | 162 | 0.638106 |
ddb0f9feaa87e18a1a29428225baa1d36a07d69b | 2,742 | php | PHP | app/Controllers/infoperusahaan.php | Lucifer07/Project-CI4 | f93fd3cb9c32e79720040c9911959037b5bba1ce | [
"MIT"
] | null | null | null | app/Controllers/infoperusahaan.php | Lucifer07/Project-CI4 | f93fd3cb9c32e79720040c9911959037b5bba1ce | [
"MIT"
] | null | null | null | app/Controllers/infoperusahaan.php | Lucifer07/Project-CI4 | f93fd3cb9c32e79720040c9911959037b5bba1ce | [
"MIT"
] | null | null | null | <?php
namespace App\Controllers;
use App\Models\infoModel;
class infoperusahaan extends BaseController
{
protected $infoModel;
public function __construct(){
$this->infoModel = new infoModel;
}
public function index()
{
$data = [
'title' => 'Info Perusahaan | Nuansa Inti Persada... | 29.483871 | 76 | 0.529905 |
98cb4b53da99dec5d38b05cb6b5d3d6d50ba5865 | 942 | html | HTML | src/main/webapp/index2.html | saumilj/MessageHubModuleServ | 97c3823e3f4b2478558f7e17e05af4b50e23ade0 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/index2.html | saumilj/MessageHubModuleServ | 97c3823e3f4b2478558f7e17e05af4b50e23ade0 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/index2.html | saumilj/MessageHubModuleServ | 97c3823e3f4b2478558f7e17e05af4b50e23ade0 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<title>Sample Liberty app over Message Hub</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="style.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
</head>
<body>
<div><cent... | 33.642857 | 93 | 0.624204 |
0a2b44ad47e66f906728cfe228fce6ef7343e159 | 442 | ts | TypeScript | examples/transformer/app.ts | crupakheti/pattern-lib | f92310c8b6a553dc6200587792832f3ab236d5d7 | [
"MIT"
] | null | null | null | examples/transformer/app.ts | crupakheti/pattern-lib | f92310c8b6a553dc6200587792832f3ab236d5d7 | [
"MIT"
] | 1 | 2021-06-27T17:54:47.000Z | 2021-06-27T17:54:47.000Z | examples/transformer/app.ts | crupakheti/pattern-lib | f92310c8b6a553dc6200587792832f3ab236d5d7 | [
"MIT"
] | null | null | null | import { Transformer } from '../../src';
import { Source } from '../strategizer/model';
import { CategorizedText } from './model';
export class App {
constructor(protected transformer: Transformer<CategorizedText>) {}
async run(source: Source, content: string) {
const text: CategorizedText = { source, content... | 27.625 | 69 | 0.671946 |
a1365c221c6166e83aee4ca6c2a466f4d073da6c | 2,740 | go | Go | cmd/cmd_num.go | Louch2010/dhaiy | c15481e7e30129b5ed9eda75c5e8e2a870885165 | [
"MIT"
] | 1 | 2017-09-04T04:42:48.000Z | 2017-09-04T04:42:48.000Z | cmd/cmd_num.go | Louch2010/dhaiy | c15481e7e30129b5ed9eda75c5e8e2a870885165 | [
"MIT"
] | null | null | null | cmd/cmd_num.go | Louch2010/dhaiy | c15481e7e30129b5ed9eda75c5e8e2a870885165 | [
"MIT"
] | null | null | null | package cmd
import (
"strconv"
"time"
. "github.com/louch2010/dhaiy/common"
"github.com/louch2010/dhaiy/log"
)
//NSet命令处理
func HandleNSetCommand(client *Client) {
args := client.Reqest[1:]
var liveTime int = 0
if len(args) == 3 {
t, err := strconv.Atoi(args[2])
if err != nil {
log.Info("参数转换错误,liveTime... | 27.128713 | 113 | 0.716058 |
4a5391771ec1acced4cb108c6ec34822f45af460 | 60 | js | JavaScript | generators/templates/src/index.js | mplabs/generator-babel-webpack | 4ace4cf3fea24bb2a6dc41d60bb628889ec5112d | [
"MIT"
] | null | null | null | generators/templates/src/index.js | mplabs/generator-babel-webpack | 4ace4cf3fea24bb2a6dc41d60bb628889ec5112d | [
"MIT"
] | null | null | null | generators/templates/src/index.js | mplabs/generator-babel-webpack | 4ace4cf3fea24bb2a6dc41d60bb628889ec5112d | [
"MIT"
] | null | null | null | export default from './Library';
export util from './util';
| 20 | 32 | 0.7 |
ff3a9124dd183337b5ae79248205eddd2518629b | 5,198 | lua | Lua | script/core/diagnostics/type-check.lua | rski/lua-language-server | 6bf7a86e3fab833031918d93eb9d9ecbdafe9353 | [
"MIT"
] | null | null | null | script/core/diagnostics/type-check.lua | rski/lua-language-server | 6bf7a86e3fab833031918d93eb9d9ecbdafe9353 | [
"MIT"
] | null | null | null | script/core/diagnostics/type-check.lua | rski/lua-language-server | 6bf7a86e3fab833031918d93eb9d9ecbdafe9353 | [
"MIT"
] | null | null | null | local files = require 'files'
local guide = require 'parser.guide'
local vm = require 'vm'
local infer = require 'core.infer'
local await = require 'await'
local hasVarargs
local function inTypes(param, args)
for _, v in ipairs(args) do
if param[1] == v[1] then
return true
elsei... | 29.202247 | 116 | 0.449981 |
5b007c875151aedb3bb0f80667de5a60f7e6906c | 973 | h | C | include/fusekit/stream_reader.h | baltoche/fusekit | 5ed297a90af12b9641542ebe386073493ee859c2 | [
"MIT"
] | 1 | 2020-12-30T22:04:21.000Z | 2020-12-30T22:04:21.000Z | include/fusekit/stream_reader.h | baltoche/fusekit | 5ed297a90af12b9641542ebe386073493ee859c2 | [
"MIT"
] | 3 | 2015-08-02T20:56:50.000Z | 2015-08-02T21:31:19.000Z | include/fusekit/stream_reader.h | baltoche/fusekit | 5ed297a90af12b9641542ebe386073493ee859c2 | [
"MIT"
] | 1 | 2015-08-02T20:30:57.000Z | 2015-08-02T20:30:57.000Z |
#ifndef __FUSEKIT__STREAM_READER_H
#define __FUSEKIT__STREAM_READER_H
#include <error.h>
#include <iostream>
#include <fusekit/entry.h>
namespace fusekit{
template< class Reader, char Delimiter >
struct stream_reader {
stream_reader( Reader& w )
: _reader(w)
, _err(0){
}
stream_reader()... | 16.491525 | 59 | 0.582734 |
132ed6511683d3e610ed05c243eb449363cfbafb | 814 | h | C | src/task_manager.h | Field-Programmable-Smartwatch/firmware | 0a78c922ce10bfc8bab296935c125e03047315dc | [
"MIT"
] | 5 | 2020-12-08T02:03:34.000Z | 2021-02-07T16:57:42.000Z | src/task_manager.h | Field-Programmable-Smartwatch/firmware | 0a78c922ce10bfc8bab296935c125e03047315dc | [
"MIT"
] | 14 | 2021-01-27T02:22:42.000Z | 2021-04-21T03:35:00.000Z | src/task_manager.h | Field-Programmable-Smartwatch/firmware | 0a78c922ce10bfc8bab296935c125e03047315dc | [
"MIT"
] | null | null | null | #ifndef TASK_MANAGER_H
#define TASK_MANAGER_H
#include <stdint.h>
#include <string.h>
#define TASK_LIST_MAX 16
#define TASK_NAME_MAX 16
typedef enum task_status {
TASK_STATUS_STOPPED,
TASK_STATUS_STOP,
TASK_STATUS_RUNNING,
TASK_STATUS_START
} task_status_t;
typedef struct task {
task_status_t st... | 21.421053 | 73 | 0.780098 |
e0da0fae8922675657c431cac976902dffc1a102 | 443 | sql | SQL | sql/forbid_truncate.sql | NaokiNakamichi/postgres_extension | 47029106ccbc1fe00d0ec9a612ddfedd7abf6847 | [
"PostgreSQL",
"MIT"
] | 2 | 2020-09-14T10:01:09.000Z | 2020-09-26T07:29:36.000Z | sql/forbid_truncate.sql | NaokiNakamichi/postgres_extension | 47029106ccbc1fe00d0ec9a612ddfedd7abf6847 | [
"PostgreSQL",
"MIT"
] | null | null | null | sql/forbid_truncate.sql | NaokiNakamichi/postgres_extension | 47029106ccbc1fe00d0ec9a612ddfedd7abf6847 | [
"PostgreSQL",
"MIT"
] | null | null | null | LOAD 'forbid_truncate';
CREATE TEMP TABLE test (a int, b char(20));
INSERT INTO test VALUES(generate_series(1, 10), 'aaa');
-- forbid truncate this command is forbidden
TRUNCATE TABLE test;
-- No change
SELECT * FROM test;
-- DDL command function correctly
ALTER TABLE test ADD
foo VARCHAR(30)
;
ALTER TABLE tes... | 14.290323 | 55 | 0.731377 |
169db5eacc4bba39485539892f14b19f06b8c586 | 1,539 | ts | TypeScript | docman-frontend2/app/hooks/view/contextmenu/treeContextMenuControllHook.ts | orimajp/document-manager-test | 6452a5aa1dcab52a66c41b7181abfe8430addee2 | [
"MIT"
] | null | null | null | docman-frontend2/app/hooks/view/contextmenu/treeContextMenuControllHook.ts | orimajp/document-manager-test | 6452a5aa1dcab52a66c41b7181abfe8430addee2 | [
"MIT"
] | 5 | 2020-09-13T03:27:17.000Z | 2022-02-15T02:25:29.000Z | docman-frontend2/app/hooks/view/contextmenu/treeContextMenuControllHook.ts | orimajp/document-manager-test | 6452a5aa1dcab52a66c41b7181abfe8430addee2 | [
"MIT"
] | null | null | null | import { reactive, toRefs } from '@vue/composition-api'
export interface TreeContextMenuParam {
showContextMenu: boolean
openPageId: string
openPageTitle: string
contextMenuX: number
contextMenuY: number
top: boolean
}
export interface TreeContextMenuProps {
treeContextMenuParam: TreeContextMenuParam
}
... | 21.985714 | 55 | 0.687459 |
2657f1a887b98233d97a91a894aa0b0a1651a42c | 735 | java | Java | data-structures-and-algorithms/src/main/java/org/devon/data/structures/SkipNode.java | devon-ye/demos-parent | bc98102d26d7b123bb4bfdd13d3d6f20c27b16a8 | [
"Apache-2.0"
] | 10 | 2018-03-27T06:47:00.000Z | 2019-10-20T17:47:44.000Z | data-structures-and-algorithms/src/main/java/org/devon/data/structures/SkipNode.java | devon-ye/demos-parent | bc98102d26d7b123bb4bfdd13d3d6f20c27b16a8 | [
"Apache-2.0"
] | 2 | 2021-05-28T05:42:23.000Z | 2021-05-28T05:43:29.000Z | data-structures-and-algorithms/src/main/java/org/devon/data/structures/SkipNode.java | devon-ye/demos-parent | bc98102d26d7b123bb4bfdd13d3d6f20c27b16a8 | [
"Apache-2.0"
] | 4 | 2018-03-07T02:50:38.000Z | 2018-05-28T06:41:30.000Z | package org.devon.data.structures;
public class SkipNode<E> {
private E data;
private SkipNode[] forwards;
private int maxLevel;
public SkipNode(E data, int maxLevel) {
this.data = data;
this.maxLevel = maxLevel;
this.forwards = new SkipNode[maxLevel];
}
public E get... | 18.846154 | 50 | 0.591837 |
437885a25c1108d031dc31d77b180b4f6a81b5b2 | 91 | go | Go | api/api.go | homemade/justin | 4830f6df31fe54226aa471cf4e9be0a20c103dc4 | [
"MIT"
] | 2 | 2017-01-24T09:28:10.000Z | 2017-08-16T04:09:19.000Z | api/api.go | homemade/justin | 4830f6df31fe54226aa471cf4e9be0a20c103dc4 | [
"MIT"
] | null | null | null | api/api.go | homemade/justin | 4830f6df31fe54226aa471cf4e9be0a20c103dc4 | [
"MIT"
] | null | null | null | // Package api provides common utility functions for working with HTTP(S) APIs
package api
| 30.333333 | 78 | 0.802198 |
82079b897254dd53d122c2287c4c7936b9e375c0 | 94 | kt | Kotlin | src/main/java/com/arman/kotboy/Main.kt | campoe/KotBoy | 709efa50a0b176d7ed8aefe4db0f35f173472de2 | [
"MIT"
] | 2 | 2020-04-18T17:36:52.000Z | 2020-07-14T15:54:46.000Z | src/main/java/com/arman/kotboy/Main.kt | coenvk/KotBoy | 709efa50a0b176d7ed8aefe4db0f35f173472de2 | [
"MIT"
] | null | null | null | src/main/java/com/arman/kotboy/Main.kt | coenvk/KotBoy | 709efa50a0b176d7ed8aefe4db0f35f173472de2 | [
"MIT"
] | 1 | 2019-08-28T15:02:12.000Z | 2019-08-28T15:02:12.000Z | package com.arman.kotboy
fun main(args: Array<String>) {
val kb = KotBoy()
kb.run()
} | 15.666667 | 31 | 0.62766 |
542242646758f0ffc4fb263d3db44ec5262d664a | 1,692 | go | Go | pkg/apis/mxnet/validation/validation.go | jzp1025/mx-operator.v2 | a6a15ca6f0e64e7c2d55f7d010d134fac1ee041c | [
"Apache-2.0"
] | null | null | null | pkg/apis/mxnet/validation/validation.go | jzp1025/mx-operator.v2 | a6a15ca6f0e64e7c2d55f7d010d134fac1ee041c | [
"Apache-2.0"
] | null | null | null | pkg/apis/mxnet/validation/validation.go | jzp1025/mx-operator.v2 | a6a15ca6f0e64e7c2d55f7d010d134fac1ee041c | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 30.763636 | 75 | 0.717494 |
6cb38b453256f072361c569665e361f66ed480b8 | 1,214 | kt | Kotlin | app/src/main/java/com/zero/neon/game/stage/StageController.kt | MAliffadlan/permainan-pesawat | 29c43454c0f0d8d40b982b04d3190305b0da04d4 | [
"MIT"
] | 53 | 2021-12-11T12:36:03.000Z | 2022-03-17T22:36:27.000Z | app/src/main/java/com/zero/neon/game/stage/StageController.kt | MAliffadlan/permainan-pesawat | 29c43454c0f0d8d40b982b04d3190305b0da04d4 | [
"MIT"
] | null | null | null | app/src/main/java/com/zero/neon/game/stage/StageController.kt | MAliffadlan/permainan-pesawat | 29c43454c0f0d8d40b982b04d3190305b0da04d4 | [
"MIT"
] | 4 | 2022-01-02T14:10:24.000Z | 2022-03-20T12:37:00.000Z | package com.zero.neon.game.stage
import androidx.compose.runtime.saveable.Saver
import com.zero.neon.utils.DateUtils
class StageController(
private val dateUtils: DateUtils = DateUtils(),
private var stageIndex: Int = 0,
private var stageStartSnapshotMillis: Long = dateUtils.currentTimeMillis()
) {
f... | 31.947368 | 100 | 0.637562 |
e630893b6b5d5a8a9dc2fa752434e5912e11d99f | 211 | kt | Kotlin | src/main/kotlin/com/tingfeng/ershou/collector/dao/impl/AccountDaoImpl.kt | huitoukest/ershou-collector-kotlin | 81d5f3455647b26b59594208890135af9255827f | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/tingfeng/ershou/collector/dao/impl/AccountDaoImpl.kt | huitoukest/ershou-collector-kotlin | 81d5f3455647b26b59594208890135af9255827f | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/tingfeng/ershou/collector/dao/impl/AccountDaoImpl.kt | huitoukest/ershou-collector-kotlin | 81d5f3455647b26b59594208890135af9255827f | [
"Apache-2.0"
] | null | null | null | package com.tingfeng.ershou.collector.dao.impl
//* @Query("update account set name=${name} where id = ${id}")*//*
/* override fun updateNameById(name:String, id: Long): Long {
return 1L;
}
}*/
| 21.1 | 66 | 0.620853 |
6591a3c532e745f5085d37bbe7a35e7d851a0c53 | 3,296 | rs | Rust | medicines/api/src/main.rs | alsuren/products | b0ef8b13f9dfee457c25a3537619bd652541bf28 | [
"MIT"
] | null | null | null | medicines/api/src/main.rs | alsuren/products | b0ef8b13f9dfee457c25a3537619bd652541bf28 | [
"MIT"
] | null | null | null | medicines/api/src/main.rs | alsuren/products | b0ef8b13f9dfee457c25a3537619bd652541bf28 | [
"MIT"
] | null | null | null | use anyhow::anyhow;
use core::fmt::Display;
use std::{env, net::SocketAddr, str::FromStr};
use tracing::Level;
use warp::{
self,
http::{header, Method, StatusCode},
Filter, Rejection, Reply,
};
mod azure_context;
mod document;
mod pagination;
mod product;
mod schema;
mod substance;
const PORT: u16 = 8000;... | 28.66087 | 100 | 0.597998 |
f2f2d5ce4459699385592ef52e9569deefe93d51 | 3,845 | kt | Kotlin | utils_androidx/src/main/java/com/fintek/utils_androidx/phone/PhoneUtils.kt | ZuiRenA/fintek_android_sdk | 3934edfc55e2a25659c14b74832f20d04bb53da5 | [
"MIT"
] | 1 | 2021-07-23T14:27:31.000Z | 2021-07-23T14:27:31.000Z | utils_androidx/src/main/java/com/fintek/utils_androidx/phone/PhoneUtils.kt | ZuiRenA/fintek_android_sdk | 3934edfc55e2a25659c14b74832f20d04bb53da5 | [
"MIT"
] | null | null | null | utils_androidx/src/main/java/com/fintek/utils_androidx/phone/PhoneUtils.kt | ZuiRenA/fintek_android_sdk | 3934edfc55e2a25659c14b74832f20d04bb53da5 | [
"MIT"
] | null | null | null | package com.fintek.utils_androidx.phone
import android.Manifest
import android.annotation.SuppressLint
import android.content.Context
import android.os.Build
import android.telephony.TelephonyManager
import android.telephony.gsm.GsmCellLocation
import androidx.annotation.RequiresPermission
import com.fintek.utils_andr... | 26.888112 | 108 | 0.644993 |
207b832856434d002adbf55d25906085d22c957a | 1,343 | css | CSS | styles/main.css | DmitriiLevchenko/breackout | a006919bbae7b6b9ec75e9e000d135bc751b7543 | [
"MIT"
] | 1 | 2020-07-13T08:58:00.000Z | 2020-07-13T08:58:00.000Z | styles/main.css | DmitriiLevchenko/breackout | a006919bbae7b6b9ec75e9e000d135bc751b7543 | [
"MIT"
] | 32 | 2020-05-02T09:09:42.000Z | 2021-05-03T17:23:11.000Z | styles/main.css | DmitriiLevchenko/homepage | 655863a5b146753bea78942d5de834c1ef104eb5 | [
"MIT"
] | null | null | null | .iridescent-text {
animation: 5s linear 0s infinite alternate iridescent-anim;
}
.clickable-icon {
border: 3px solid black;
height: 240px;
width: 200px;
}
.iridescent-border {
animation: 5s linear 0s infinite alternate border-anim;
}
.hide {
animation: 2s linear 0s 1 normal hide-anim;
}
.show {
animation:... | 15.261364 | 61 | 0.620253 |
0ce945d91f14b7115bc5eeecc89a0cbddf6f0ae2 | 2,925 | py | Python | radical_translations/agents/tests/test_models.py | kingsdigitallab/radical_translations | c18ca1ccc0ab2d88ae472dc2eda58e2ff9dcc76a | [
"MIT"
] | 3 | 2022-02-08T18:03:44.000Z | 2022-03-18T18:10:43.000Z | radical_translations/agents/tests/test_models.py | kingsdigitallab/radical_translations | c18ca1ccc0ab2d88ae472dc2eda58e2ff9dcc76a | [
"MIT"
] | 19 | 2020-05-11T15:36:35.000Z | 2022-02-08T11:26:40.000Z | radical_translations/agents/tests/test_models.py | kingsdigitallab/radical_translations | c18ca1ccc0ab2d88ae472dc2eda58e2ff9dcc76a | [
"MIT"
] | null | null | null | from collections import defaultdict
import pytest
from radical_translations.agents.models import Organisation, Person
pytestmark = pytest.mark.django_db
@pytest.mark.usefixtures("vocabulary")
class TestOrganisation:
def test_agent_type(self, title):
obj = Person(name="person name")
obj.save()
... | 31.793478 | 85 | 0.624274 |
2629fe896ea7cf424053dbe4a168352be5774d01 | 4,334 | java | Java | src/main/java/im/yangqiang/android/unicorn/core/log/ILogger.java | carltony/Unicorn | 5cf1422d9837819ccda0d5100100445a4925c8f8 | [
"BSD-2-Clause"
] | null | null | null | src/main/java/im/yangqiang/android/unicorn/core/log/ILogger.java | carltony/Unicorn | 5cf1422d9837819ccda0d5100100445a4925c8f8 | [
"BSD-2-Clause"
] | null | null | null | src/main/java/im/yangqiang/android/unicorn/core/log/ILogger.java | carltony/Unicorn | 5cf1422d9837819ccda0d5100100445a4925c8f8 | [
"BSD-2-Clause"
] | null | null | null | package im.yangqiang.android.unicorn.core.log;
public interface ILogger
{
/**
* Send a {@link android.util.Log#VERBOSE} log message.
*
* @param tag
* Used to identify the source of a log message. It usually identifies
* the class or activity where the log call occ... | 31.635036 | 84 | 0.550761 |
3e2defade92d63d813de05aa9b8fa46ea1a24b82 | 1,871 | kt | Kotlin | math/src/main/kotlin/com/oneliang/ktx/util/math/check/Checker.kt | oneliang/util-kotlin | 66c603ee9da407384cfc283102079e43d23e5b90 | [
"Apache-2.0"
] | 1 | 2021-11-26T14:53:16.000Z | 2021-11-26T14:53:16.000Z | math/src/main/kotlin/com/oneliang/ktx/util/math/check/Checker.kt | oneliang/util-kotlin | 66c603ee9da407384cfc283102079e43d23e5b90 | [
"Apache-2.0"
] | null | null | null | math/src/main/kotlin/com/oneliang/ktx/util/math/check/Checker.kt | oneliang/util-kotlin | 66c603ee9da407384cfc283102079e43d23e5b90 | [
"Apache-2.0"
] | 2 | 2020-06-10T08:19:59.000Z | 2020-08-27T10:52:00.000Z | package com.oneliang.ktx.util.math.check
object Checker {
enum class CheckType(val value: Int) {
RANGE_LEFT_OPEN_RIGHT_OPEN(0),//(,)
RANGE_LEFT_OPEN_RIGHT_CLOSED(1),//(,]
RANGE_LEFT_CLOSED_RIGHT_OPEN(2),//[,)
RANGE_LEFT_CLOSED_RIGHT_CLOSED(3)//[,]
}
enum class ParameterChec... | 36.686275 | 154 | 0.54356 |
eeb75cfa340036a803810d363e92e7e2c21a26e0 | 1,396 | kt | Kotlin | app/src/main/java/com/wgy/recycleclient/logic/viewmodel/ActivityCategoryViewModel.kt | Gaoyuan-Wang/RecycleClient | ba34b9270b49f3801ecf316e9e2766941ffb8a4a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/wgy/recycleclient/logic/viewmodel/ActivityCategoryViewModel.kt | Gaoyuan-Wang/RecycleClient | ba34b9270b49f3801ecf316e9e2766941ffb8a4a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/wgy/recycleclient/logic/viewmodel/ActivityCategoryViewModel.kt | Gaoyuan-Wang/RecycleClient | ba34b9270b49f3801ecf316e9e2766941ffb8a4a | [
"Apache-2.0"
] | null | null | null | package com.wgy.recycleclient.logic.viewmodel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
import com.wgy.recycleclient.logic.Repository
import com.wgy.recycleclient.logic.model.Sign
import com.wgy.recycleclient.logic.model.CheckActivityByCateg... | 39.885714 | 104 | 0.797994 |
1f89b79de4874d4dd02509165a484aa15fe15770 | 34,811 | html | HTML | johnbattelle.html | svven/pages | 5478469c88f5d6acfd4cacc0f075a4e0951cc340 | [
"MIT"
] | null | null | null | johnbattelle.html | svven/pages | 5478469c88f5d6acfd4cacc0f075a4e0951cc340 | [
"MIT"
] | null | null | null | johnbattelle.html | svven/pages | 5478469c88f5d6acfd4cacc0f075a4e0951cc340 | [
"MIT"
] | 1 | 2019-12-20T04:39:04.000Z | 2019-12-20T04:39:04.000Z | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>News - Summary Extraction</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="... | 46.978408 | 265 | 0.693114 |
3be652f3d00b99bcd5b1b18390a5762a8b782fd0 | 369 | c | C | mentos/src/ui/command/cmd_whoami.c | adamantinum/MentOS | d24274f1047a0df0ed925297329c61332b3dab0f | [
"MIT"
] | 1 | 2022-01-10T15:14:10.000Z | 2022-01-10T15:14:10.000Z | mentos/src/ui/command/cmd_whoami.c | LauraCanaia/MentOS | 9af9701ddb34b7904d9379badc2ba8e19a7b7071 | [
"MIT"
] | null | null | null | mentos/src/ui/command/cmd_whoami.c | LauraCanaia/MentOS | 9af9701ddb34b7904d9379badc2ba8e19a7b7071 | [
"MIT"
] | null | null | null | /// MentOS, The Mentoring Operating system project
/// @file cmd_whoami.c
/// @brief
/// @copyright (c) 2019 This file is distributed under the MIT License.
/// See LICENSE.md for details.
#include "commands.h"
#include "stdio.h"
void cmd_whoami(int argc, char **argv)
{
(void) argc;
(void) ar... | 23.0625 | 71 | 0.642276 |
88edae2c1cdf7ab4040622b0cbf0f82f3f0836ec | 680 | kt | Kotlin | kuberig-gradle-plugin/src/main/kotlin/io/kuberig/gradle/tasks/resource/ResourceGenerationTask.kt | guai/kuberig | c709c2838a2adae4ba4115c3d01a6057122abf73 | [
"Apache-2.0"
] | 19 | 2020-11-09T02:44:28.000Z | 2022-03-24T07:12:56.000Z | kuberig-gradle-plugin/src/main/kotlin/io/kuberig/gradle/tasks/resource/ResourceGenerationTask.kt | guai/kuberig | c709c2838a2adae4ba4115c3d01a6057122abf73 | [
"Apache-2.0"
] | 27 | 2019-05-12T16:20:17.000Z | 2020-10-14T18:33:44.000Z | kuberig-gradle-plugin/src/main/kotlin/io/kuberig/gradle/tasks/resource/ResourceGenerationTask.kt | guai/kuberig | c709c2838a2adae4ba4115c3d01a6057122abf73 | [
"Apache-2.0"
] | 2 | 2020-02-27T18:30:49.000Z | 2020-03-26T08:01:58.000Z | package io.kuberig.gradle.tasks.resource
import io.kuberig.core.generation.yaml.YamlGenerator
import io.kuberig.gradle.tasks.AbstractResourceTask
import org.gradle.api.tasks.TaskAction
open class ResourceGenerationTask : AbstractResourceTask() {
@TaskAction
fun generateResources() {
val generator = Y... | 29.565217 | 82 | 0.729412 |
3e3612a205cbeaa2ea8022d29486cf503f492364 | 1,004 | swift | Swift | VisualRecognitionWorkshop/Fireworks.swift | abl/workshops-2018 | aacc3206503cc9d82818f0705635d93b22e88b98 | [
"Apache-2.0"
] | 3 | 2018-06-17T23:01:18.000Z | 2019-06-19T12:51:05.000Z | VisualRecognitionWorkshop/Fireworks.swift | abl/workshops-2018 | aacc3206503cc9d82818f0705635d93b22e88b98 | [
"Apache-2.0"
] | 2 | 2018-06-15T22:35:03.000Z | 2018-06-19T16:00:29.000Z | VisualRecognitionWorkshop/Fireworks.swift | abl/workshops-2018 | aacc3206503cc9d82818f0705635d93b22e88b98 | [
"Apache-2.0"
] | 7 | 2018-06-16T16:54:14.000Z | 2018-06-18T13:15:49.000Z | //
// Fireworks.swift
// rainbow
//
// Created by David Okun IBM on 5/16/18.
// Copyright © 2018 IBM. All rights reserved.
//
import Foundation
import UIKit
class Fireworks {
static func show(for view: UIView, at point: CGPoint, with color: UIColor) {
let emitter = CAEmitterLayer()
emitter.fra... | 27.135135 | 80 | 0.613546 |
3be1fdfbba1c4c050a7a4f7c9d177e463057d4df | 145,996 | c | C | src/bigtable.c | CountOnes/hamming_weight | 1dd7554c0fc39e01c9d7fa54372fd4eccf458875 | [
"Apache-2.0"
] | 48 | 2016-04-24T06:50:20.000Z | 2021-11-27T07:45:38.000Z | src/bigtable.c | CountOnes/hamming_weight | 1dd7554c0fc39e01c9d7fa54372fd4eccf458875 | [
"Apache-2.0"
] | 2 | 2016-11-29T00:01:06.000Z | 2016-12-05T13:40:02.000Z | src/bigtable.c | CountOnes/hamming_weight | 1dd7554c0fc39e01c9d7fa54372fd4eccf458875 | [
"Apache-2.0"
] | 8 | 2016-06-13T06:14:10.000Z | 2021-07-20T00:47:13.000Z | const uint8_t big_table[]= {0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,... | 72,998 | 145,995 | 0.551042 |
3fc177b7fde2d95199e0303d7ad18ccd3f81c661 | 324 | kt | Kotlin | indexer-model/src/main/java/de/unihalle/informatik/bigdata/knjigica/indexer/model/LibrettoHolder.kt | heinrichreimer/knjigica-server | 288c7bc8eb424e83d594fc5b38bc0e9f57a67130 | [
"MIT"
] | null | null | null | indexer-model/src/main/java/de/unihalle/informatik/bigdata/knjigica/indexer/model/LibrettoHolder.kt | heinrichreimer/knjigica-server | 288c7bc8eb424e83d594fc5b38bc0e9f57a67130 | [
"MIT"
] | 8 | 2019-01-21T21:12:19.000Z | 2021-05-27T23:25:42.000Z | indexer-model/src/main/java/de/unihalle/informatik/bigdata/knjigica/indexer/model/LibrettoHolder.kt | heinrichreimer/knjigica-server | 288c7bc8eb424e83d594fc5b38bc0e9f57a67130 | [
"MIT"
] | 1 | 2018-10-29T22:19:07.000Z | 2018-10-29T22:19:07.000Z | package de.unihalle.informatik.bigdata.knjigica.indexer.model
data class LibrettoHolder(
val libretto: Sequence<Libretto>,
val annotations: Sequence<Annotation>,
val authors: Sequence<Author>,
val operas: Sequence<Opera>,
val plot: Sequence<Plot>,
val roles: Sequence<Rol... | 32.4 | 61 | 0.682099 |
5a9f14e1af62d176505b7e2a342736400aca7a1d | 7,722 | kt | Kotlin | joybao-esign-java/src/main/kotlin/com/joybao/esign/Account.kt | MarsCWD/joybao | 6dae7021ecd3e3c51f250cdcb4491d1fd90bbbcc | [
"Apache-2.0"
] | null | null | null | joybao-esign-java/src/main/kotlin/com/joybao/esign/Account.kt | MarsCWD/joybao | 6dae7021ecd3e3c51f250cdcb4491d1fd90bbbcc | [
"Apache-2.0"
] | null | null | null | joybao-esign-java/src/main/kotlin/com/joybao/esign/Account.kt | MarsCWD/joybao | 6dae7021ecd3e3c51f250cdcb4491d1fd90bbbcc | [
"Apache-2.0"
] | null | null | null | package com.joybao.esign
import DDP.DDPListener
import com.joybao.constants.ProjectConstants
import com.joybao.util.TaskCallBack
import com.joybao.util.TaskObj
import com.timevale.esign.sdk.tech.bean.OrganizeBean
import com.timevale.esign.sdk.tech.bean.PersonBean
import com.timevale.esign.sdk.tech.bean.result.... | 33.141631 | 92 | 0.544548 |
d27fa0fda62f70eb2c0381600ab8e8923546fc7f | 706 | php | PHP | src/DependencyInjection/Compiler/CheckFirebaseMessagingEnabledPass.php | CedrickOka/notifier-server-bundle | 4de374c3bea408c917056c952d9e5a61035116be | [
"MIT"
] | 1 | 2022-02-01T15:29:49.000Z | 2022-02-01T15:29:49.000Z | src/DependencyInjection/Compiler/CheckFirebaseMessagingEnabledPass.php | CedrickOka/notifier-server-bundle | 4de374c3bea408c917056c952d9e5a61035116be | [
"MIT"
] | null | null | null | src/DependencyInjection/Compiler/CheckFirebaseMessagingEnabledPass.php | CedrickOka/notifier-server-bundle | 4de374c3bea408c917056c952d9e5a61035116be | [
"MIT"
] | null | null | null | <?php
namespace Oka\Notifier\ServerBundle\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
/**
* @author Cedrick Oka Baidai <okacedrick@gmail.com>
*/
class CheckFirebaseMessagingEnabledPass implements... | 35.3 | 152 | 0.763456 |
e53f54ac6e9b7bfd8125401457db0a165684d866 | 3,415 | lua | Lua | CoreScripts/Modules/DevConsole/Components/ScrollingTextBox.lua | jackrestaki/Core-Scripts | 31e68fd04caa585a0a52889aa2efda37ced4203e | [
"Apache-2.0"
] | null | null | null | CoreScripts/Modules/DevConsole/Components/ScrollingTextBox.lua | jackrestaki/Core-Scripts | 31e68fd04caa585a0a52889aa2efda37ced4203e | [
"Apache-2.0"
] | null | null | null | CoreScripts/Modules/DevConsole/Components/ScrollingTextBox.lua | jackrestaki/Core-Scripts | 31e68fd04caa585a0a52889aa2efda37ced4203e | [
"Apache-2.0"
] | null | null | null | local CorePackages = game:GetService("CorePackages")
local UserInputService = game:GetService("UserInputService")
local TextService = game:GetService("TextService")
local Roact = require(CorePackages.Roact)
local TEXTBOX_RIGHTSIDE_THRESHOLD = 0.9
local ScrollingTextBox = Roact.Component:extend("ScrollingTextBox")
fu... | 29.188034 | 114 | 0.747877 |
81129d757f28a58fdc44ce1cb2c97c7f85796b39 | 623 | rs | Rust | examples/basic-stdio.rs | sonro/linurgy | 432e42fe9820db18a5b9b0ff5ba651502d535e1e | [
"Apache-2.0",
"MIT"
] | 1 | 2019-07-31T16:37:40.000Z | 2019-07-31T16:37:40.000Z | examples/basic-stdio.rs | sonro/linurgy | 432e42fe9820db18a5b9b0ff5ba651502d535e1e | [
"Apache-2.0",
"MIT"
] | 3 | 2020-02-11T18:26:30.000Z | 2022-01-27T14:49:35.000Z | examples/basic-stdio.rs | sonro/linurgy | 432e42fe9820db18a5b9b0ff5ba651502d535e1e | [
"Apache-2.0",
"MIT"
] | null | null | null | use std::io::{stdin, Read, Result};
/// Edit stdin and output to stdout.
///
/// This will add a line of dashes after every line. This will only output
/// after the user has ended the input stream. If you want to watch a file,
/// or use the program more interactively, use `buffered_edit` instead.
fn main() -> Result... | 27.086957 | 75 | 0.624398 |
66465a9ed3a8d9a7ba7a58b46fd32e16289900c7 | 662 | css | CSS | examples/css-modules/styles/utils/align.css | lingard/react-css-utils | aa7d3a2acb7b9614950b7065396f135012645523 | [
"MIT"
] | 1 | 2016-05-15T12:46:52.000Z | 2016-05-15T12:46:52.000Z | examples/css-modules/styles/utils/align.css | lingard/react-css-utils | aa7d3a2acb7b9614950b7065396f135012645523 | [
"MIT"
] | null | null | null | examples/css-modules/styles/utils/align.css | lingard/react-css-utils | aa7d3a2acb7b9614950b7065396f135012645523 | [
"MIT"
] | null | null | null | @define-mixin utils-align-setup $namespace {
/**
* Vertical alignment utilities
* Depends on an appropriate `display` value.
*/
.$(namespace)baseline {
vertical-align: baseline !important;
}
.$(namespace)bottom {
vertical-align: bottom !important;
}
.$(namespace)middle {
vertical-ali... | 14.391304 | 47 | 0.601208 |
f35c3bfcb0953cde6a5e655da12e59082bf751b3 | 2,370 | swift | Swift | Swift Rockets.playgroundbook/Contents/Sources/Satellite.swift | desplesda/SwiftRockets | 58fc6164fc4449d57a828d265b7b8e41eba58752 | [
"MIT"
] | null | null | null | Swift Rockets.playgroundbook/Contents/Sources/Satellite.swift | desplesda/SwiftRockets | 58fc6164fc4449d57a828d265b7b8e41eba58752 | [
"MIT"
] | null | null | null | Swift Rockets.playgroundbook/Contents/Sources/Satellite.swift | desplesda/SwiftRockets | 58fc6164fc4449d57a828d265b7b8e41eba58752 | [
"MIT"
] | null | null | null | import SpriteKit
import UIKit
public enum OrbitalObject: Trackable {
case chandra, compton, debris, drone, explorer, hubble, iss, landsat
case missile, noaa15, rocket, rocketlaunch, rocketshield, spitzer, sputnik, tiros, vanguard
public var image: UIImage {
return UIImage(named: self.filename)!
}
public v... | 26.333333 | 92 | 0.679747 |
f97e81558abdcb52dd2b63dc1042e1bcb7773b81 | 6,727 | sql | SQL | dba/usp_JobStats.sql | viswaratha12/dbwarden | 3931accda4fb401d21b6cb272fe3d6959915ceb8 | [
"Apache-2.0"
] | 2 | 2018-04-03T05:18:15.000Z | 2020-04-23T04:00:25.000Z | dba/usp_JobStats.sql | viswaratha12/dbwarden | 3931accda4fb401d21b6cb272fe3d6959915ceb8 | [
"Apache-2.0"
] | null | null | null | dba/usp_JobStats.sql | viswaratha12/dbwarden | 3931accda4fb401d21b6cb272fe3d6959915ceb8 | [
"Apache-2.0"
] | 4 | 2016-05-14T17:56:55.000Z | 2020-01-23T12:02:25.000Z | /****** Object: StoredProcedure [dbo].[usp_JobStats] ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROC dbo.usp_JobStats (@InsertFlag BIT = 0)
AS
/**************************************************************************************************************
** Purpose:
**
** Revision... | 41.524691 | 210 | 0.6575 |
8459ac05848690ff2fed38f9b1033170a34f10c1 | 241 | swift | Swift | Weather/Modules/CitySearch/Factory/CitySearchFactory.swift | dvstupivtsev/Weather | 19ee4335afee1a8a05045acec65d0c4cf477dfd5 | [
"MIT"
] | 3 | 2019-08-04T14:10:48.000Z | 2019-08-20T15:41:42.000Z | Weather/Modules/CitySearch/Factory/CitySearchFactory.swift | dvstupivtsev/Weather | 19ee4335afee1a8a05045acec65d0c4cf477dfd5 | [
"MIT"
] | null | null | null | Weather/Modules/CitySearch/Factory/CitySearchFactory.swift | dvstupivtsev/Weather | 19ee4335afee1a8a05045acec65d0c4cf477dfd5 | [
"MIT"
] | 2 | 2019-06-28T16:43:46.000Z | 2019-06-28T20:57:40.000Z | //
// Created by Dmitriy Stupivtsev on 06/05/2019.
//
import UIKit
// sourcery: AutoMockable
protocol CitySearchFactory {
func create(selectStrategy: CitySearchSelectStrategy, persistentStore: CitySearchService) -> UIViewController
}
| 21.909091 | 113 | 0.780083 |