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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e7ffb07502a866daacad535d6c162c3df47ed0fa | 1,075 | py | Python | 001-050/029-divide-two-integers.py | bbram10/leetcode-master | 565f5f0cb3c9720e59a78ddf2e5e6e829c70bac6 | [
"MIT"
] | 134 | 2017-01-16T11:17:44.000Z | 2022-03-16T17:13:26.000Z | 001-050/029-divide-two-integers.py | bbram10/leetcode-master | 565f5f0cb3c9720e59a78ddf2e5e6e829c70bac6 | [
"MIT"
] | 1 | 2019-11-18T02:10:51.000Z | 2019-11-18T02:10:51.000Z | 001-050/029-divide-two-integers.py | bbram10/leetcode-master | 565f5f0cb3c9720e59a78ddf2e5e6e829c70bac6 | [
"MIT"
] | 54 | 2017-07-17T01:24:00.000Z | 2022-02-06T05:28:44.000Z | """
STATEMENT
Divide two integers without using multiplication, division and mod operator.
CLARIFICATIONS
- Do I have to handle 32-bit integer overflow? Yes, return the MAX_INT in that case.
- Can the divisor be zero? Yes, return the MAX_INT.
EXAMPLES
34/3 -> 11
COMMENTS
- This solution is by tusizi in Leetcode (pic... | 27.564103 | 115 | 0.613953 |
169bda8b986c99b4632a5917b8d5f92925898063 | 688 | c | C | system/bin/mount/mount.c | tonytsangzen/micro_kernel_os | e6e2bde5c64a9e703611ab47cc07a5cb6f670840 | [
"Apache-2.0"
] | null | null | null | system/bin/mount/mount.c | tonytsangzen/micro_kernel_os | e6e2bde5c64a9e703611ab47cc07a5cb6f670840 | [
"Apache-2.0"
] | null | null | null | system/bin/mount/mount.c | tonytsangzen/micro_kernel_os | e6e2bde5c64a9e703611ab47cc07a5cb6f670840 | [
"Apache-2.0"
] | null | null | null | #include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <syscall.h>
#include <string.h>
#include <fsinfo.h>
static const char* get_cmd(char* cmd) {
char* p = cmd;
while(*p != 0) {
if(*p == ' ') {
*p = 0;
break;
}
p++;
}
return cmd;
}
int main(int argc, char* argv[]) {
(void)argc;
(void)a... | 17.2 | 62 | 0.585756 |
beee27ab1140849d61f445ef2d6a3b859a3d7a7b | 946 | html | HTML | dhostCheckbox/public_html/index.html | a970032/dhost | 5230aac9919f55d61e773c52622f6060d1b80e2f | [
"MIT"
] | null | null | null | dhostCheckbox/public_html/index.html | a970032/dhost | 5230aac9919f55d61e773c52622f6060d1b80e2f | [
"MIT"
] | null | null | null | dhostCheckbox/public_html/index.html | a970032/dhost | 5230aac9919f55d61e773c52622f6060d1b80e2f | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">
<meta name="viewport" cont... | 35.037037 | 88 | 0.593023 |
e98949fd7d1e7baece51f6eead4c47c32cff0699 | 225 | swift | Swift | ios/Classes/data/AddressType.swift | BaseflowIT/flutter-contacts | 2708c56e4e5300e8912fcb035ef8791f2fb82ffc | [
"MIT"
] | 32 | 2018-08-31T08:55:27.000Z | 2019-08-22T08:07:30.000Z | ios/Classes/data/AddressType.swift | BaseflowIT/flutter-contacts | 2708c56e4e5300e8912fcb035ef8791f2fb82ffc | [
"MIT"
] | 12 | 2018-09-17T01:34:23.000Z | 2019-09-20T01:30:29.000Z | ios/Classes/data/AddressType.swift | BaseflowIT/flutter-contacts-plugin | 2708c56e4e5300e8912fcb035ef8791f2fb82ffc | [
"MIT"
] | 13 | 2018-09-25T13:18:51.000Z | 2019-10-05T10:18:40.000Z | //
// AddressType.swift
// contacts
//
// Created by Maurits van Beusekom on 28/08/2018.
//
import Foundation
enum AddressType : String, Codable {
case home = "home"
case work = "work"
case other = "other"
}
| 15 | 50 | 0.635556 |
bf105b8958e937ab72c5a75ab378a308f5082f37 | 2,343 | lua | Lua | Modules/LootIcons.lua | Mythos/ElvUI_ChatTweaks | 7ade93bfe63807d4eec7315a4192f938099af49a | [
"MIT"
] | null | null | null | Modules/LootIcons.lua | Mythos/ElvUI_ChatTweaks | 7ade93bfe63807d4eec7315a4192f938099af49a | [
"MIT"
] | null | null | null | Modules/LootIcons.lua | Mythos/ElvUI_ChatTweaks | 7ade93bfe63807d4eec7315a4192f938099af49a | [
"MIT"
] | null | null | null | -------------------------------------------------------------------------------
-- ElvUI Chat Tweaks By Crackpotx (US, Lightbringer)
-- Based on functionality provided by Prat and/or Chatter
-------------------------------------------------------------------------------
local Module = ElvUI_ChatTweaks:NewModule("Loot I... | 30.828947 | 154 | 0.63679 |
6571250e8d9a31917ba9ebb87ec811f9f5cc107c | 249 | swift | Swift | POP Flix/POP Flix/View/Cell Movie Collection/Collection/MovieListSectionCollectionView.swift | renefx/POP-Flix | f1b45929eea37d091c97887fdc93657753321447 | [
"MIT"
] | 1 | 2020-01-08T15:32:10.000Z | 2020-01-08T15:32:10.000Z | POP Flix/POP Flix/View/Cell Movie Collection/Collection/MovieListSectionCollectionView.swift | renefx/POP-Flix | f1b45929eea37d091c97887fdc93657753321447 | [
"MIT"
] | null | null | null | POP Flix/POP Flix/View/Cell Movie Collection/Collection/MovieListSectionCollectionView.swift | renefx/POP-Flix | f1b45929eea37d091c97887fdc93657753321447 | [
"MIT"
] | null | null | null | //
// MovieListSectionCollectionView.swift
// POP Flix
//
// Created by Renê Xavier on 24/03/19.
// Copyright © 2019 Renefx. All rights reserved.
//
import UIKit
class MovieListSectionCollectionView: UICollectionView {
var section: Int?
}
| 17.785714 | 56 | 0.722892 |
851604c78d5c9db52fdf9f61a50b7bf9eb46a99e | 542 | rs | Rust | rootfm-core/src/reverb/all_pass.rs | Kintaro/rootfm | 0c535d8c108a94bae144d6d146778f93bb4626e4 | [
"MIT"
] | 19 | 2019-09-30T18:31:49.000Z | 2022-02-04T18:49:03.000Z | rootfm-core/src/reverb/all_pass.rs | Kintaro/rootfm | 0c535d8c108a94bae144d6d146778f93bb4626e4 | [
"MIT"
] | null | null | null | rootfm-core/src/reverb/all_pass.rs | Kintaro/rootfm | 0c535d8c108a94bae144d6d146778f93bb4626e4 | [
"MIT"
] | 1 | 2020-05-08T01:45:26.000Z | 2020-05-08T01:45:26.000Z | use super::delay_line::DelayLine;
#[derive(Copy, Clone, Debug)]
pub struct AllPass {
gain: f32,
delay: DelayLine,
}
impl AllPass {
pub fn new(delay: f32, gain: f32) -> AllPass {
AllPass {
gain,
delay: DelayLine::new(delay),
}
}
pub fn compute(&mut self, sam... | 21.68 | 51 | 0.549815 |
2ea9301715810dd0b3d77b96ecdba79b34cab48a | 1,254 | asm | Assembly | src/test/ref/address-of-1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/test/ref/address-of-1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/test/ref/address-of-1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | // Test address-of - pass the pointer as parameter
// Commodore 64 PRG executable file
.file [name="address-of-1.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:B... | 19 | 63 | 0.547847 |
6b766c98624229ce9c9f09af8b9095d4eff815e7 | 519 | h | C | Plot/SpaceBackGround/Solar/SunModel.h | MJYCo-Ltd/Map | 48ccc120a3c2cd3080fb046da72c7588b1faebc0 | [
"MIT"
] | 7 | 2021-11-25T02:12:09.000Z | 2022-03-20T12:48:18.000Z | Plot/SpaceBackGround/Solar/SunModel.h | MJYCo-Ltd/Map | 48ccc120a3c2cd3080fb046da72c7588b1faebc0 | [
"MIT"
] | 1 | 2022-03-25T20:47:21.000Z | 2022-03-29T02:02:44.000Z | Plot/SpaceBackGround/Solar/SunModel.h | MJYCo-Ltd/Map | 48ccc120a3c2cd3080fb046da72c7588b1faebc0 | [
"MIT"
] | 2 | 2021-12-07T06:22:47.000Z | 2021-12-30T05:54:04.000Z | #ifndef SUNMODEL_H
#define SUNMODEL_H
#include <osg/Camera>
#include <osg/MatrixTransform>
#include <Math/Vector.h>
class CSunModel:public osg::MatrixTransform
{
public:
CSunModel();
/**
* @brief 更新行星位置
* @param rPos
*/
void UpdatePostion(const Math::CVector& rPos);
void SetMatrix(con... | 19.222222 | 50 | 0.639692 |
332bc827b9397befa3b3df403d9170657a773ac3 | 2,372 | py | Python | Cura/Cura/plugins/VersionUpgrade/VersionUpgrade34to35/__init__.py | TIAO-JI-FU/3d-printing-with-moveo-1 | 100ecfd1208fe1890f8bada946145d716b2298eb | [
"MIT"
] | null | null | null | Cura/Cura/plugins/VersionUpgrade/VersionUpgrade34to35/__init__.py | TIAO-JI-FU/3d-printing-with-moveo-1 | 100ecfd1208fe1890f8bada946145d716b2298eb | [
"MIT"
] | null | null | null | Cura/Cura/plugins/VersionUpgrade/VersionUpgrade34to35/__init__.py | TIAO-JI-FU/3d-printing-with-moveo-1 | 100ecfd1208fe1890f8bada946145d716b2298eb | [
"MIT"
] | null | null | null | # Copyright (c) 2018 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
from typing import Any, Dict, TYPE_CHECKING
from . import VersionUpgrade34to35
if TYPE_CHECKING:
from UM.Application import Application
upgrade = VersionUpgrade34to35.VersionUpgrade34to35()
def getMetaData() -> Dict... | 38.258065 | 111 | 0.52403 |
cb389f106599096449c539c6946e42118f12efb3 | 5,578 | c | C | src/dxf_dim.c | zYg-sys/CadZinho | 7bc80b6d0a1174882e80a4aef0de31bdebc74369 | [
"MIT"
] | 1 | 2021-11-15T21:03:53.000Z | 2021-11-15T21:03:53.000Z | src/dxf_dim.c | zYg-sys/CadZinho | 7bc80b6d0a1174882e80a4aef0de31bdebc74369 | [
"MIT"
] | 1 | 2021-11-24T09:03:18.000Z | 2021-11-24T09:03:18.000Z | src/dxf_dim.c | zYg-sys/CadZinho | 7bc80b6d0a1174882e80a4aef0de31bdebc74369 | [
"MIT"
] | null | null | null | #include "dxf_dim.h"
list_node * dxf_dim_linear_make(dxf_drawing *drawing, dxf_node * ent, double length, double scale,
double an_scale, int an_format,
int term_type,
int tol_type, double tol_up, double tol_low)
{
if(!ent) return NULL;
if (ent->type != DXF_ENT) return NULL;
if (!ent->obj.content) return NULL;
... | 33.005917 | 119 | 0.611868 |
da2c996aa6d2b8f0cabcb3b5495c7d4f8c0486e6 | 808 | sql | SQL | coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/RELEASE-SCRIPTS/KC-RELEASE-4_0-SCRIPT/oracle/dml/KR_DML_01_KCCOI-107_B000.sql | smith750/kc | e411ed1a4f538a600e04f964a2ba347f5695837e | [
"ECL-2.0"
] | null | null | null | coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/RELEASE-SCRIPTS/KC-RELEASE-4_0-SCRIPT/oracle/dml/KR_DML_01_KCCOI-107_B000.sql | smith750/kc | e411ed1a4f538a600e04f964a2ba347f5695837e | [
"ECL-2.0"
] | null | null | null | coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/RELEASE-SCRIPTS/KC-RELEASE-4_0-SCRIPT/oracle/dml/KR_DML_01_KCCOI-107_B000.sql | smith750/kc | e411ed1a4f538a600e04f964a2ba347f5695837e | [
"ECL-2.0"
] | null | null | null | INSERT INTO KRIM_ROLE_T (ACTV_IND,DESC_TXT,KIM_TYP_ID,LAST_UPDT_DT,NMSPC_CD,OBJ_ID,ROLE_ID,ROLE_NM,VER_NBR)
VALUES ('Y','COI Reporter',(SELECT KIM_TYP_ID FROM KRIM_TYP_T WHERE NM = 'Default'),sysdate,'KC-COIDISCLOSURE',SYS_GUID(),KRIM_ROLE_ID_BS_S.NEXTVAL,'COI Reporter',1)
/
INSERT INTO KRIM_PERM_T (PERM_ID,PERM_TMPL... | 73.454545 | 167 | 0.792079 |
6f646964d0cf9c27cdf4e4900855ff5fdc28eb9f | 5,457 | kt | Kotlin | app/src/main/java/top/jowanxu/wanandroidclient/presenter/HomePresenter.kt | fyhtosky/WanAndroidClient | 2e4b9fd04da815093b9f68372b7cf552c5d6247e | [
"Apache-2.0"
] | null | null | null | app/src/main/java/top/jowanxu/wanandroidclient/presenter/HomePresenter.kt | fyhtosky/WanAndroidClient | 2e4b9fd04da815093b9f68372b7cf552c5d6247e | [
"Apache-2.0"
] | null | null | null | app/src/main/java/top/jowanxu/wanandroidclient/presenter/HomePresenter.kt | fyhtosky/WanAndroidClient | 2e4b9fd04da815093b9f68372b7cf552c5d6247e | [
"Apache-2.0"
] | null | null | null | package top.jowanxu.wanandroidclient.presenter
import top.jowanxu.wanandroidclient.bean.*
/**
* 首页Presenter接口
*/
interface HomePresenter {
/**
* get home list interface
*/
interface OnHomeListListener {
/**
* get home list
* @param page page
*/
fun getH... | 24.039648 | 130 | 0.552318 |
2e3bd796c8b854715409a00207215c9a84428716 | 24 | lua | Lua | resources/words/ruy.lua | terrabythia/alfabeter | da422481ba223ebc6c4ded63fed8f75605193d44 | [
"MIT"
] | null | null | null | resources/words/ruy.lua | terrabythia/alfabeter | da422481ba223ebc6c4ded63fed8f75605193d44 | [
"MIT"
] | null | null | null | resources/words/ruy.lua | terrabythia/alfabeter | da422481ba223ebc6c4ded63fed8f75605193d44 | [
"MIT"
] | null | null | null | return {'ruys','ruyter'} | 24 | 24 | 0.666667 |
081ffb239adf615d6d7b50659ecba86b2ba79904 | 2,499 | swift | Swift | Source/PIX/Effects/Single/FeedbackPIX.swift | jinjorge/pixels | 065fbab8aeca99c21170619da7eef28aec0cf369 | [
"MIT"
] | null | null | null | Source/PIX/Effects/Single/FeedbackPIX.swift | jinjorge/pixels | 065fbab8aeca99c21170619da7eef28aec0cf369 | [
"MIT"
] | null | null | null | Source/PIX/Effects/Single/FeedbackPIX.swift | jinjorge/pixels | 065fbab8aeca99c21170619da7eef28aec0cf369 | [
"MIT"
] | null | null | null | //
// FeedbackPIX.swift
// Pixels
//
// Created by Hexagons on 2018-08-21.
// Copyright © 2018 Hexagons. All rights reserved.
//
import CoreGraphics
import Metal
public class FeedbackPIX: PIXSingleEffect, PIXofaKind {
var kind: PIX.Kind = .feedback
override open var shader: String { return "nilP... | 26.870968 | 100 | 0.578631 |
cbed2192a4eefd3eae333efea45734f4e3de9360 | 324 | go | Go | src/cache/TCache.Get.go | Qithub-BOT/QiiTrans | 9eb2a3045873c1c041f89b6f49af8aa287b8d31e | [
"MIT"
] | 11 | 2021-07-02T23:55:08.000Z | 2022-01-19T03:22:58.000Z | src/cache/TCache.Get.go | Qithub-BOT/QiiTrans | 9eb2a3045873c1c041f89b6f49af8aa287b8d31e | [
"MIT"
] | 17 | 2021-07-03T02:40:43.000Z | 2022-02-08T03:38:36.000Z | src/cache/TCache.Get.go | Qithub-BOT/QiiTrans | 9eb2a3045873c1c041f89b6f49af8aa287b8d31e | [
"MIT"
] | null | null | null | package cache
// Get はキャッシュから key を探索し、その値を文字列で返します.
// キャッシュに key がない場合はエラーを返します.
func (c *TCache) Get(key string) (string, error) {
if err := c.OpenDB(); err != nil {
return "", err
}
defer c.CloseDB()
// key をバイトデータにハッシュ化してキャッシュからキー探索
value, err := c.GetValueInByte(c.hash64(key))
return string(value), er... | 19.058824 | 50 | 0.682099 |
573f80e593bf367871688bf8240ae125b44f41dd | 1,003 | h | C | kernel/cxx_support.h | skordal/wagtail | 0acea8c530f58c5f87db8add26e5a37e4eeb2e43 | [
"BSD-3-Clause"
] | null | null | null | kernel/cxx_support.h | skordal/wagtail | 0acea8c530f58c5f87db8add26e5a37e4eeb2e43 | [
"BSD-3-Clause"
] | null | null | null | kernel/cxx_support.h | skordal/wagtail | 0acea8c530f58c5f87db8add26e5a37e4eeb2e43 | [
"BSD-3-Clause"
] | 1 | 2019-09-10T16:06:14.000Z | 2019-09-10T16:06:14.000Z | // Wagtail OS
// (c) Kristian Klomsten Skordal 2012 <kristian.skordal@gmail.com>
// Report bugs and issues on <http://github.com/skordal/wagtail>
#ifndef WAGTAIL_CXX_SUPPORT_H
#define WAGTAIL_CXX_SUPPORT_H
#include "kernel.h"
/** Function required to use pure virtual methods. */
extern "C" void __cxa_pure_virtual();... | 28.657143 | 74 | 0.718843 |
9ba87d2c2084e054cafceac174d455ccfc0ef12a | 2,582 | js | JavaScript | src/components/Button.js | concurrent-studio/just---design.com | 3b8f55d681edb5d3bc136ffd063a994642587ec8 | [
"MIT"
] | 1 | 2021-01-29T01:39:53.000Z | 2021-01-29T01:39:53.000Z | src/components/Button.js | concurrent-studio/just---design.com | 3b8f55d681edb5d3bc136ffd063a994642587ec8 | [
"MIT"
] | null | null | null | src/components/Button.js | concurrent-studio/just---design.com | 3b8f55d681edb5d3bc136ffd063a994642587ec8 | [
"MIT"
] | null | null | null | import React from "react";
import Emoji from "./Emoji.js";
import "../sass/button.component.sass"
export default class Button extends React.Component {
constructor(props) {
super(props);
this.state = {
href: null
}
}
async instagram(link) {
if (navigator.platfor... | 35.369863 | 110 | 0.481022 |
5abd0e60b6d6a75449eb3f14110cf16aa0c67a3f | 1,286 | rs | Rust | tests/jacobian/non_linear.rs | Nateckert/newton_rootfinder | e51d517b1add8e4cd81110018ca52298079bd4fb | [
"Apache-2.0",
"MIT"
] | 6 | 2020-06-19T16:12:20.000Z | 2022-02-27T22:15:50.000Z | tests/jacobian/non_linear.rs | Nateckert/newton_rootfinder | e51d517b1add8e4cd81110018ca52298079bd4fb | [
"Apache-2.0",
"MIT"
] | 8 | 2020-06-05T08:52:42.000Z | 2021-11-16T20:21:31.000Z | tests/jacobian/non_linear.rs | Nateckert/newton_rootfinder | e51d517b1add8e4cd81110018ca52298079bd4fb | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-10T05:35:16.000Z | 2022-03-10T05:35:16.000Z | extern crate nalgebra;
extern crate newton_rootfinder;
use newton_rootfinder as nrf;
use nrf::model::Model;
use nrf::residuals;
use nrf::solver::jacobian_evaluation;
pub fn non_linear(inputs: &nalgebra::DVector<f64>) -> nalgebra::DVector<f64> {
let mut outputs = nalgebra::DVector::zeros(2);
outputs[0] = inputs... | 37.823529 | 93 | 0.709953 |
bdfbbb2c80b02c3507481fd13ea96922657963b1 | 1,365 | rs | Rust | src/alerts.rs | apognu/unified | 5275e9050a400daf1ecc5d970aac3475c5b4faf4 | [
"MIT"
] | null | null | null | src/alerts.rs | apognu/unified | 5275e9050a400daf1ecc5d970aac3475c5b4faf4 | [
"MIT"
] | null | null | null | src/alerts.rs | apognu/unified | 5275e9050a400daf1ecc5d970aac3475c5b4faf4 | [
"MIT"
] | null | null | null | use chrono::NaiveDateTime;
use reqwest::Method;
use serde::Deserialize;
use crate::{http::ApiV1, Unified, UnifiedError};
#[derive(Debug)]
pub struct Alert {
pub time: NaiveDateTime,
pub subsystem: String,
pub device: Option<String>,
pub message: String,
pub archived: bool,
}
#[derive(Deserialize)]
struct R... | 24.375 | 98 | 0.625641 |
dde2ed7a2be523b85ef5d53d56618aa731d519bb | 1,775 | kt | Kotlin | app/src/androidTest/java/com/waryozh/simplestepcounter/ResetStepsDialogTest.kt | Waryozh/simple-step-counter | 9c1d619d51c2fcdc5f041ea3a84a6ed36771a4d1 | [
"MIT"
] | null | null | null | app/src/androidTest/java/com/waryozh/simplestepcounter/ResetStepsDialogTest.kt | Waryozh/simple-step-counter | 9c1d619d51c2fcdc5f041ea3a84a6ed36771a4d1 | [
"MIT"
] | null | null | null | app/src/androidTest/java/com/waryozh/simplestepcounter/ResetStepsDialogTest.kt | Waryozh/simple-step-counter | 9c1d619d51c2fcdc5f041ea3a84a6ed36771a4d1 | [
"MIT"
] | null | null | null | package com.waryozh.simplestepcounter
import androidx.test.espresso.Espresso
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test... | 36.22449 | 79 | 0.733521 |
095acb52756f03b05f6ebf3a6fd3b07f1ca39dee | 1,849 | swift | Swift | NuguCore/Sources/PlaySync/PlaySyncInfo.swift | jin-marino/nugu-ios | daf4fa204a18cfae997504a9dd9bc8cd7d880d41 | [
"Apache-2.0"
] | 18 | 2019-10-28T04:48:54.000Z | 2021-12-20T07:18:30.000Z | NuguCore/Sources/PlaySync/PlaySyncInfo.swift | jin-marino/nugu-ios | daf4fa204a18cfae997504a9dd9bc8cd7d880d41 | [
"Apache-2.0"
] | 353 | 2019-10-23T11:41:03.000Z | 2021-12-15T09:34:33.000Z | NuguCore/Sources/PlaySync/PlaySyncInfo.swift | jin-marino/nugu-ios | daf4fa204a18cfae997504a9dd9bc8cd7d880d41 | [
"Apache-2.0"
] | 23 | 2019-10-23T04:18:11.000Z | 2022-01-19T12:35:56.000Z | //
// PlaySyncInfo.swift
// NuguCore
//
// Created by MinChul Lee on 2019/07/16.
// Copyright (c) 2019 SK Telecom Co., Ltd. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of th... | 29.349206 | 76 | 0.672796 |
a6929e8f8beb72af2b1cbb81b07babede6f313a2 | 6,787 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_12370_73.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_12370_73.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_12370_73.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 %r10
push %r13
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xcf7a, %rsi
lea addresses_UC_ht+0x8756, %rdi
nop
nop
nop
and %r13, %r13
mov $118, %rcx
rep movsw
nop
nop
nop
sub $57065, %r10
lea addresses_UC_ht+0x16a56, %rbp
add $12755, %rb... | 33.269608 | 2,999 | 0.655223 |
9c235a416859934f3d4e1fbbda96c55cf5973ef5 | 187 | js | JavaScript | base/Command.js | JPTheWeatherMan/Tarkov-Map-Bot | 3e4c33ebb46ef8e43865e6b222063f4da82109c7 | [
"MIT"
] | null | null | null | base/Command.js | JPTheWeatherMan/Tarkov-Map-Bot | 3e4c33ebb46ef8e43865e6b222063f4da82109c7 | [
"MIT"
] | null | null | null | base/Command.js | JPTheWeatherMan/Tarkov-Map-Bot | 3e4c33ebb46ef8e43865e6b222063f4da82109c7 | [
"MIT"
] | null | null | null | const path = require("path");
module.exports = class Command {
constructor(client, { name = null, enabled = true }) {
this.client = client;
this.help = { name, description };
}
};
| 20.777778 | 55 | 0.641711 |
e320da84a54ba5430c969dea04b01c330e3548bc | 968 | kt | Kotlin | src/main/kotlin/com/greentower/seedApi/main/client/rest/controller/ClientController.kt | gabriellmandelli/seed-springboot-kotlin | cc308a111da80533356db34b53744e914172ba9c | [
"MIT"
] | 3 | 2020-07-13T09:35:45.000Z | 2020-12-09T21:02:36.000Z | src/main/kotlin/com/greentower/seedApi/main/client/rest/controller/ClientController.kt | gabriellmandelli/seed-springboot-kotlin | cc308a111da80533356db34b53744e914172ba9c | [
"MIT"
] | 1 | 2020-08-27T00:12:14.000Z | 2020-08-27T00:12:14.000Z | src/main/kotlin/com/greentower/seedApi/main/client/rest/controller/ClientController.kt | gabriellmandelli/seed-springboot-kotlin | cc308a111da80533356db34b53744e914172ba9c | [
"MIT"
] | null | null | null | package com.greentower.seedApi.main.client.rest.controller
import com.greentower.seedApi.main.client.domain.entity.Client
import com.greentower.seedApi.main.client.domain.exception.ClientResponseStatusMessage
import com.greentower.seedApi.main.client.service.ClientService
import com.greentower.seedApi.infrastructure.g... | 40.333333 | 91 | 0.829545 |
6b4f454553e9d2b01da0f48ed0d09c91582dae65 | 1,018 | c | C | src/memory.c | sagalpreet/Dispatcher-Simulator | 28d901f018cd1935cc6b0a64a75c5cf6e616f972 | [
"MIT"
] | null | null | null | src/memory.c | sagalpreet/Dispatcher-Simulator | 28d901f018cd1935cc6b0a64a75c5cf6e616f972 | [
"MIT"
] | null | null | null | src/memory.c | sagalpreet/Dispatcher-Simulator | 28d901f018cd1935cc6b0a64a75c5cf6e616f972 | [
"MIT"
] | null | null | null | #include <stdlib.h>
char* duplicate_sptr(char *source)
{
// deep copy a string
int size = 0;
for (int i = 0; ; i++)
{
if (source[i]) size++;
else break;
}
char *destination = (char *) calloc(size+1, sizeof(char));
for (int i = 0; i < size; i++) destination[i] = source[i];
... | 21.659574 | 78 | 0.544204 |
c4abecb520b14c6cf38483b82ce65aa18f3597a5 | 2,974 | h | C | src/parsing/preparsed-scope-data.h | bibhuk/v8Engine | b7e94287353ccb8adf76333840a2fc7bf1d00277 | [
"BSD-3-Clause"
] | null | null | null | src/parsing/preparsed-scope-data.h | bibhuk/v8Engine | b7e94287353ccb8adf76333840a2fc7bf1d00277 | [
"BSD-3-Clause"
] | null | null | null | src/parsing/preparsed-scope-data.h | bibhuk/v8Engine | b7e94287353ccb8adf76333840a2fc7bf1d00277 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_PARSING_PREPARSED_SCOPE_DATA_H_
#define V8_PARSING_PREPARSED_SCOPE_DATA_H_
#include <unordered_map>
#include <vector>
#include "src/globals... | 27.537037 | 79 | 0.744452 |
038cff9625aed52c9b61fd26e6d4a210fb47c4c6 | 528 | lua | Lua | tests/comments/main.lua | ExE-Boss/prettier-plugin-lua | 341c05fc75d65ff92b5639d8ce8a333b8239943d | [
"MIT"
] | 71 | 2018-04-05T08:43:06.000Z | 2022-03-07T17:51:12.000Z | tests/comments/main.lua | suchipi/prettier-plugin-lua | 63d45f57abe20828edda91d068fd957174bbada4 | [
"MIT"
] | 21 | 2018-04-05T04:31:12.000Z | 2022-01-01T15:50:10.000Z | tests/comments/main.lua | suchipi/prettier-plugin-lua | 63d45f57abe20828edda91d068fd957174bbada4 | [
"MIT"
] | 16 | 2018-06-08T18:10:51.000Z | 2022-03-01T09:25:56.000Z | -- line comment in chunk
dosomething()
-- another line comment in chunk
function Function()
-- line comment in Function
if --[[before if conditional]] --[[another before if conditional]] true --[[after if conditional]] then -- end of if line
dooo() -- end of call in if
end
end
function Foo()
-- comment in ... | 22 | 123 | 0.6875 |
cb1af7895e2346ca5d054faa9ca4c28ec72b4433 | 3,806 | h | C | ppapi/c/dev/ppb_ime_input_event_dev.h | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 212 | 2015-01-31T11:55:58.000Z | 2022-02-22T06:35:11.000Z | ppapi/c/dev/ppb_ime_input_event_dev.h | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | ppapi/c/dev/ppb_ime_input_event_dev.h | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 221 | 2015-01-07T06:21:24.000Z | 2022-02-11T02:51:12.000Z | /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* From dev/ppb_ime_input_event_dev.idl modified Wed Oct 5 14:06:02 2011. */
#ifndef PPAPI_C_DEV_PPB_IME_INPUT_EVENT_DEV_H_
#define PPAPI_C_DEV_... | 34.288288 | 80 | 0.712559 |
93abb8a5e2f9937096105427b2376da48deed9b3 | 948 | html | HTML | manuscript/page-1460/body.html | marvindanig/de-bello-gallico | 338efb85a417422b947d3ca04f5b6977ff38170f | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-1460/body.html | marvindanig/de-bello-gallico | 338efb85a417422b947d3ca04f5b6977ff38170f | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-1460/body.html | marvindanig/de-bello-gallico | 338efb85a417422b947d3ca04f5b6977ff38170f | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | <div class="leaf "><div class="inner justify"><p>Anch[)i][)a]los, a city of Thrace, near the Euxine Sea, now called
<em>Kenkis</em></p><p>Ancibarii, or Ansivarii, an ancient people of Lower Germany, of and
about the town of <em>Ansestaet</em>, or <em>Amslim</em></p><p>Anc[=o]na, <em>Ancona</em>, a city of Italy, on the... | 86.181818 | 138 | 0.735232 |
3d4153c282c1ab39f44a22455de6c612fc5659be | 433 | rs | Rust | todo_app/src/to_do/structs/traits/get.rs | thirteenpylons/practicerust | 49e211220a2d8e25b30509024fdeed3066c88dbf | [
"MIT"
] | null | null | null | todo_app/src/to_do/structs/traits/get.rs | thirteenpylons/practicerust | 49e211220a2d8e25b30509024fdeed3066c88dbf | [
"MIT"
] | 4 | 2022-01-17T00:48:14.000Z | 2022-01-22T01:37:50.000Z | todo_app/src/to_do/structs/traits/get.rs | thirteenpylons/practicerust | 49e211220a2d8e25b30509024fdeed3066c88dbf | [
"MIT"
] | null | null | null | use serde_json::Map;
use serde_json::value::Value;
pub trait Get {
fn get(&self, title: &String, state: &Map<String, Value>) {
let item: Option<&Value> = state.get(title);
match item {
Some(result) => {
println!("\n\nItem: {}", title);
println!("Status: ... | 25.470588 | 63 | 0.482679 |
d0e77b263e762137998f44a1cf34c0087c69f1b3 | 1,238 | css | CSS | src/main/resources/io/github/fjossinet/rnartist/gui/css/explorer.css | fjossinet/RNArtist | d025b844f4227342b729ece3f0e1e95f9fdc718a | [
"MIT"
] | 70 | 2020-04-24T16:41:55.000Z | 2022-03-25T01:04:18.000Z | src/main/resources/io/github/fjossinet/rnartist/gui/css/explorer.css | fjossinet/RNArtist | d025b844f4227342b729ece3f0e1e95f9fdc718a | [
"MIT"
] | 13 | 2021-01-01T12:07:05.000Z | 2022-03-11T04:09:00.000Z | src/main/resources/io/github/fjossinet/rnartist/gui/css/explorer.css | fjossinet/RNArtist | d025b844f4227342b729ece3f0e1e95f9fdc718a | [
"MIT"
] | 8 | 2021-03-23T06:55:31.000Z | 2022-02-23T05:56:09.000Z | .tree-table-row-cell {
-fx-background-color: -fx-table-cell-border-color, -fx-control-inner-background;
-fx-background-insets: 0, 0 0 1 0;
}
.tree-table-row-cell:selected {
-fx-background-color: -fx-focus-color, -fx-cell-focus-inner-border, -fx-focus-color;
-fx-background-insets: 0, 1, 2;
}
.tree-tabl... | 23.358491 | 102 | 0.662359 |
363edb346cfc198dc66b3e456df4aac50b582125 | 6,592 | rs | Rust | nlprule/src/rule/grammar.rs | drahnr/nlprule | ae208aa911cf46c96731ed4012aba9b03fa6242e | [
"Apache-2.0",
"MIT"
] | null | null | null | nlprule/src/rule/grammar.rs | drahnr/nlprule | ae208aa911cf46c96731ed4012aba9b03fa6242e | [
"Apache-2.0",
"MIT"
] | null | null | null | nlprule/src/rule/grammar.rs | drahnr/nlprule | ae208aa911cf46c96731ed4012aba9b03fa6242e | [
"Apache-2.0",
"MIT"
] | null | null | null | use super::engine::composition::{GraphId, MatchGraph, PosMatcher};
use crate::types::*;
use crate::{
tokenizer::Tokenizer,
utils::{self, regex::SerializeRegex},
};
use onig::Captures;
use serde::{Deserialize, Serialize};
use std::collections::HashSet;
impl std::cmp::PartialEq for Suggestion {
fn eq(&self, ... | 30.948357 | 112 | 0.526092 |
8ec80c2af0d015651dca01979d64dae9b4d3b8e8 | 3,620 | swift | Swift | NHS-COVID-19/Core/Sources/Interface/Screens/VirologyTesting/NonNegativeTestResultNoIsolationViewController.swift | faberga/covid-19-app-ios-ag-public | ee43e47aa1c082ea0bbfb0a971327dea807e4533 | [
"MIT"
] | 135 | 2020-08-13T12:37:37.000Z | 2021-02-12T06:07:22.000Z | NHS-COVID-19/Core/Sources/Interface/Screens/VirologyTesting/NonNegativeTestResultNoIsolationViewController.swift | faberga/covid-19-app-ios-ag-public | ee43e47aa1c082ea0bbfb0a971327dea807e4533 | [
"MIT"
] | 15 | 2020-09-21T11:47:19.000Z | 2021-01-11T17:08:29.000Z | NHS-COVID-19/Core/Sources/Interface/Screens/VirologyTesting/NonNegativeTestResultNoIsolationViewController.swift | faberga/covid-19-app-ios-ag-public | ee43e47aa1c082ea0bbfb0a971327dea807e4533 | [
"MIT"
] | 17 | 2020-08-13T13:37:38.000Z | 2020-12-25T20:13:20.000Z | //
// Copyright © 2020 NHSX. All rights reserved.
//
import Combine
import Common
import Localization
import UIKit
public protocol NonNegativeTestResultNoIsolationViewControllerInteracting {
var didTapOnlineServicesLink: () -> Void { get }
var didTapPrimaryButton: () -> Void { get }
var didTapCancel: (() ... | 35.841584 | 149 | 0.650276 |
3e6f85041ce7fc484bbe3f8f4214d8396731772d | 2,640 | h | C | librmq/block.h | wx-csy/librmq | 1fdacbb29939783bc840f2304052bac5b21c1a53 | [
"MIT"
] | 5 | 2020-11-24T15:16:15.000Z | 2021-12-08T07:51:04.000Z | librmq/block.h | wx-csy/librmq | 1fdacbb29939783bc840f2304052bac5b21c1a53 | [
"MIT"
] | null | null | null | librmq/block.h | wx-csy/librmq | 1fdacbb29939783bc840f2304052bac5b21c1a53 | [
"MIT"
] | null | null | null | #ifndef __LIBRMQ_BLOCK_H__
#define __LIBRMQ_BLOCK_H__
#include <algorithm>
#include "hardcode.h"
#include "st.h"
namespace librmq {
template <typename T>
class rmq_block {
static constexpr size_t BLOCKSZ = 1024;
size_t n, nr_blocks;
const T *data;
size_t *pref, *suf;
rmq_st<T> st;
void i... | 29.662921 | 84 | 0.462121 |
573c65d9e444892c52aa8797bb38e584a19ed106 | 151 | sql | SQL | microservicio/infraestructura/src/main/resources/sql/mantenimiento/actualizar.sql | scalde44/taller | d79d1da6a87714de402bbf66ba8840ab8e4719fe | [
"Apache-2.0"
] | null | null | null | microservicio/infraestructura/src/main/resources/sql/mantenimiento/actualizar.sql | scalde44/taller | d79d1da6a87714de402bbf66ba8840ab8e4719fe | [
"Apache-2.0"
] | null | null | null | microservicio/infraestructura/src/main/resources/sql/mantenimiento/actualizar.sql | scalde44/taller | d79d1da6a87714de402bbf66ba8840ab8e4719fe | [
"Apache-2.0"
] | null | null | null | update mantenimiento
set placa = :placa,
cilindraje = :cilindraje,
fecha_entrada = :fechaEntrada,
tarifa = :tarifa,
estado = :estado
where id = :id | 21.571429 | 31 | 0.728477 |
6534325409884c8b43e265c56070a9cc57567e0b | 42 | py | Python | examples/phobos/tests/test_std_system.py | kinke/autowrap | 2f042df3f292aa39b1da0b9607fbe3424f56ff4a | [
"BSD-3-Clause"
] | 47 | 2019-07-16T10:38:07.000Z | 2022-03-30T16:34:24.000Z | examples/phobos/tests/test_std_system.py | kinke/autowrap | 2f042df3f292aa39b1da0b9607fbe3424f56ff4a | [
"BSD-3-Clause"
] | 199 | 2019-06-17T23:24:40.000Z | 2021-06-16T16:41:36.000Z | examples/phobos/tests/test_std_system.py | kinke/autowrap | 2f042df3f292aa39b1da0b9607fbe3424f56ff4a | [
"BSD-3-Clause"
] | 7 | 2019-09-13T18:03:49.000Z | 2022-01-17T03:53:00.000Z | def test_import():
import std_system
| 10.5 | 21 | 0.714286 |
f04d1937650ea1b63befb73eea4d0e4baa59f849 | 1,541 | js | JavaScript | routes/api/apt.js | v-mauna/SLC | d551cb6181964d3879bbaad579463e39c97e1656 | [
"MIT"
] | null | null | null | routes/api/apt.js | v-mauna/SLC | d551cb6181964d3879bbaad579463e39c97e1656 | [
"MIT"
] | null | null | null | routes/api/apt.js | v-mauna/SLC | d551cb6181964d3879bbaad579463e39c97e1656 | [
"MIT"
] | null | null | null | const router = require ("express").Router();
const mongoose =require("mongoose");
const path =require("path");
const { brotliDecompress } = require("zlib");
const db = require("../../models");
// how do i structure this?
router.post("/aptform", async({ body ,user}, res,next) => {
try {
console.log(`user === ${... | 18.566265 | 75 | 0.605451 |
3baf6c4048880958b9e28a01c3a475a1f8f84942 | 2,424 | h | C | OrbitGl/GpuTrack.h | karupayun/orbit | 12e12f3125588c0318c2a3788a69f8b706cd1bdc | [
"BSD-2-Clause"
] | 1 | 2020-08-10T09:59:33.000Z | 2020-08-10T09:59:33.000Z | OrbitGl/GpuTrack.h | MariaSandru27/orbit | 6dcc6d82405654d07094ee66c396762892379b31 | [
"BSD-2-Clause"
] | null | null | null | OrbitGl/GpuTrack.h | MariaSandru27/orbit | 6dcc6d82405654d07094ee66c396762892379b31 | [
"BSD-2-Clause"
] | 1 | 2020-05-20T04:32:01.000Z | 2020-05-20T04:32:01.000Z | // Copyright (c) 2020 The Orbit Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ORBIT_GL_GPU_TRACK_H_
#define ORBIT_GL_GPU_TRACK_H_
#include <map>
#include <memory>
#include "BlockChain.h"
#include "CallstackTypes.h"
#inclu... | 30.683544 | 80 | 0.733086 |
9c1f2fe5ace29630b4695f03bc88cf817c8c3f78 | 3,309 | js | JavaScript | tailwind.config.js | goranalkovic/simple-piano-v2 | 8bd31d8a0f0d9179473f5dee6feee0560662c6d9 | [
"MIT"
] | 1 | 2021-09-22T14:51:24.000Z | 2021-09-22T14:51:24.000Z | tailwind.config.js | goranalkovic/simple-piano-v2 | 8bd31d8a0f0d9179473f5dee6feee0560662c6d9 | [
"MIT"
] | null | null | null | tailwind.config.js | goranalkovic/simple-piano-v2 | 8bd31d8a0f0d9179473f5dee6feee0560662c6d9 | [
"MIT"
] | null | null | null | const { tailwindExtractor } = require('tailwindcss/lib/lib/purgeUnusedStyles');
const colors = require('tailwindcss/colors');
module.exports = {
darkMode: 'class',
purge: {
content: ['./src/**/*.html', './src/**/*.svelte'],
options: {
defaultExtractor: (content) => [
...tailwindExtractor(cont... | 27.806723 | 232 | 0.500453 |
ada397135b503ef2efb7cd43001073d55d0c350c | 6,194 | asm | Assembly | Transynther/x86/_processed/NONE/_un_/i9-9900K_12_0xa0_notsx.log_1_1997.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_un_/i9-9900K_12_0xa0_notsx.log_1_1997.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_un_/i9-9900K_12_0xa0_notsx.log_1_1997.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 %r13
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1bb67, %rsi
lea addresses_normal_ht+0x1ed67, %rdi
nop
nop
nop
nop
dec %rax
mov $84, %rcx
rep movsw
nop
cmp $50366, %r13
lea addresses_WT_ht+0xf4e7, %r15
nop
nop
dec %rsi
movb ... | 19.176471 | 152 | 0.643687 |
b12f0516d2535d4ce430c010b995e66e7eb10c46 | 78 | css | CSS | static/css/base.css | ZiYin-ss/python-blog2 | 78f30bb969fc0d2f0ddb7c1221bb2210387f2c09 | [
"MIT"
] | null | null | null | static/css/base.css | ZiYin-ss/python-blog2 | 78f30bb969fc0d2f0ddb7c1221bb2210387f2c09 | [
"MIT"
] | null | null | null | static/css/base.css | ZiYin-ss/python-blog2 | 78f30bb969fc0d2f0ddb7c1221bb2210387f2c09 | [
"MIT"
] | null | null | null | ul{
list-style: none;
}
a{
color: black;
}
a:hover{
color: blue;
} | 8.666667 | 21 | 0.525641 |
dfec7da6c48b22824c81ca23302962b92f031538 | 1,107 | kt | Kotlin | api/src/main/kotlin/command/CommandProvider.kt | kolton256/rainbow | 7db0262ce4a8e007d7127bd142a027d2c42afc3c | [
"MIT"
] | 2 | 2018-10-21T12:11:42.000Z | 2019-02-07T12:12:30.000Z | api/src/main/kotlin/command/CommandProvider.kt | kolton256/rainbow | 7db0262ce4a8e007d7127bd142a027d2c42afc3c | [
"MIT"
] | 50 | 2020-02-24T16:25:27.000Z | 2021-07-20T22:28:48.000Z | api/src/main/kotlin/command/CommandProvider.kt | kolton256/rainbow | 7db0262ce4a8e007d7127bd142a027d2c42afc3c | [
"MIT"
] | 5 | 2019-03-25T14:39:12.000Z | 2020-11-21T03:34:39.000Z | package command
import context.ICommandContext
import util.Loggers
import kotlin.reflect.KClass
/**
* Base provider for all commands
* @param type baked type of context (because type erasure)
* @param T type of context
*/
abstract class CommandProvider<T : ICommandContext>(val type: KClass<T>) {
private val l... | 29.918919 | 96 | 0.65402 |
f29ec76cb02dfd09985046c0a9c5054f028c5e8a | 1,764 | sql | SQL | db/migrate/V4__fix_get_folders.sql | andrewrmiller/reimas | 3c1b76971fc04b6663c47270fdcf9d9d4a56932a | [
"MIT"
] | null | null | null | db/migrate/V4__fix_get_folders.sql | andrewrmiller/reimas | 3c1b76971fc04b6663c47270fdcf9d9d4a56932a | [
"MIT"
] | 4 | 2020-04-05T23:19:05.000Z | 2022-01-22T09:55:53.000Z | db/migrate/V4__fix_get_folders.sql | andrewrmiller/reimas | 3c1b76971fc04b6663c47270fdcf9d9d4a56932a | [
"MIT"
] | null | null | null | DELIMITER $$
-- Fix potentially uninitialized @parent_id_compressed in pst_get_folders.
DROP PROCEDURE IF EXISTS `pst_get_folders` $$
CREATE PROCEDURE `pst_get_folders`(
IN p_user_id VARCHAR(254),
IN p_library_id VARCHAR(36),
IN p_parent_id VARCHAR(36... | 26.328358 | 90 | 0.668367 |
bcaf9c933345f1ced46d3fd5d3627aa380e82ef0 | 4,082 | js | JavaScript | src/components/Detalle/Detalle.js | Ger0505/ServiciosWeb | 105348f72ec805722a59cfba6b9051250ec18c62 | [
"MIT"
] | null | null | null | src/components/Detalle/Detalle.js | Ger0505/ServiciosWeb | 105348f72ec805722a59cfba6b9051250ec18c62 | [
"MIT"
] | null | null | null | src/components/Detalle/Detalle.js | Ger0505/ServiciosWeb | 105348f72ec805722a59cfba6b9051250ec18c62 | [
"MIT"
] | null | null | null | import { CCardBody, CDropdown, CDropdownItem, CDropdownMenu, CDropdownToggle, CForm, CButton, CInput, CFormText, CCol, CRow } from '@coreui/react';
import React, { useState, useEffect } from 'react'
import { API } from "../../helpers"
const Detalle = ({ item, arrayRep, onSearch, onChange, reset }) => {
const [msgErr... | 38.149533 | 160 | 0.581333 |
1f9d5842a3459693ce7a09c787bec55efaa7fac6 | 24,978 | html | HTML | content/javadoc/taverna-language/org/apache/taverna/scufl2/xml/scufl/jaxb/WorkflowDescriptionType.html | apache/incubator-taverna-site | 36638f60b847168e7857597e674d9d2a040535ba | [
"Apache-2.0"
] | 6 | 2015-07-25T15:24:40.000Z | 2021-11-10T17:55:09.000Z | content/javadoc/taverna-language/org/apache/taverna/scufl2/xml/scufl/jaxb/WorkflowDescriptionType.html | apache/incubator-taverna-site | 36638f60b847168e7857597e674d9d2a040535ba | [
"Apache-2.0"
] | 3 | 2015-08-10T14:42:54.000Z | 2016-01-06T17:33:07.000Z | content/javadoc/taverna-language/org/apache/taverna/scufl2/xml/scufl/jaxb/WorkflowDescriptionType.html | apache/incubator-taverna-site | 36638f60b847168e7857597e674d9d2a040535ba | [
"Apache-2.0"
] | 15 | 2015-02-09T16:41:08.000Z | 2021-11-10T17:55:00.000Z | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_72-internal) on Mon Mar 14 13:22:14 GMT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WorkflowDescription... | 48.127168 | 1,713 | 0.67031 |
1a5a9000fb1f52867115e003250a3c25449e1bac | 1,123 | lua | Lua | scripts/oldschool.lua | Nonegustavo/Transformice-Lua-Scripts | d9aa3c0e37b4d618ac25647569ef3facc5552f3c | [
"MIT"
] | 2 | 2021-01-08T15:19:58.000Z | 2021-04-16T00:23:36.000Z | scripts/oldschool.lua | Nonegustavo/Transformice-Lua-Scripts | d9aa3c0e37b4d618ac25647569ef3facc5552f3c | [
"MIT"
] | null | null | null | scripts/oldschool.lua | Nonegustavo/Transformice-Lua-Scripts | d9aa3c0e37b4d618ac25647569ef3facc5552f3c | [
"MIT"
] | null | null | null | xmlLoaded=false
tfm.exec.disableAutoShaman(true)
function eventNewGame()
if not xmlLoaded then
if tfm.get.room.currentMap:find("@")~=nil then
xml=tfm.get.room.xmlMapInfo.xml
author=tfm.get.room.xmlMapInfo.author
mapCode=tf... | 36.225806 | 154 | 0.49065 |
0cdfbe0659d37b3cc8cc00e18f2f0edb48d21d4a | 3,410 | py | Python | src/scs_airnow/cmd/cmd_csv_join.py | south-coast-science/scs_airnow | 7f0657bd434aa3abe667f58bc971edaa00d0c24c | [
"MIT"
] | null | null | null | src/scs_airnow/cmd/cmd_csv_join.py | south-coast-science/scs_airnow | 7f0657bd434aa3abe667f58bc971edaa00d0c24c | [
"MIT"
] | null | null | null | src/scs_airnow/cmd/cmd_csv_join.py | south-coast-science/scs_airnow | 7f0657bd434aa3abe667f58bc971edaa00d0c24c | [
"MIT"
] | null | null | null | """
Created on 22 Feb 2019
@author: Bruno Beloff (bruno.beloff@southcoastscience.com)
source repo: scs_analysis
"""
import optparse
# --------------------------------------------------------------------------------------------------------------------
class CmdCSVJoin(object):
"""unix command line handler"""
... | 31.284404 | 118 | 0.509091 |
e732a0f3b9657c0c162617a04c72dcd3fbb9e46b | 557 | js | JavaScript | rnPractice/examples/example4/router/drawer/navigationConfiguration.js | ollirus/flexbox-practice | a404927875ec4998497a1b87c53b64e57bd52edb | [
"MIT"
] | null | null | null | rnPractice/examples/example4/router/drawer/navigationConfiguration.js | ollirus/flexbox-practice | a404927875ec4998497a1b87c53b64e57bd52edb | [
"MIT"
] | null | null | null | rnPractice/examples/example4/router/drawer/navigationConfiguration.js | ollirus/flexbox-practice | a404927875ec4998497a1b87c53b64e57bd52edb | [
"MIT"
] | null | null | null | import { DrawerNavigator } from 'react-navigation';
import StackNavigation from '../stack/StackNavigation';
const routeConfiguration = {
PremierLeague: {
screen: StackNavigation,
navigationOptions: {
drawer: { label: 'Premier League' },
},
},
LaLiga: {
screen: StackNavigation,
navigatio... | 21.423077 | 58 | 0.637343 |
c6c4513a749136d4666a5d933859417e638e7e01 | 1,166 | swift | Swift | PinboardTests/UserRequestsTests.swift | mono0926/mono-kit | e8510ff693873f863f70dfca53f1aa101cb66836 | [
"MIT"
] | 13 | 2017-02-11T11:20:33.000Z | 2019-12-06T06:49:49.000Z | PinboardTests/UserRequestsTests.swift | mono0926/mono-kit | e8510ff693873f863f70dfca53f1aa101cb66836 | [
"MIT"
] | 7 | 2017-02-11T13:58:38.000Z | 2020-03-17T22:52:23.000Z | PinboardTests/UserRequestsTests.swift | mono0926/mono-kit | e8510ff693873f863f70dfca53f1aa101cb66836 | [
"MIT"
] | 1 | 2017-02-12T21:53:12.000Z | 2017-02-12T21:53:12.000Z | //
// UserRequestsTests.swift
// monokit
//
// Created by mono on 2017/02/11.
// Copyright © 2017 mono. All rights reserved.
//
import XCTest
import Lib
import RxSwift
import APIKit
@testable import Pinboard
class UserRequestsTests: XCTestCase {
private let disposeBag = DisposeBag()
override func setUp()... | 25.347826 | 101 | 0.596913 |
c819ce7c275711ac777a8bb8f120b83fd844fcb7 | 881 | swift | Swift | WPAppKit/Classes/Cocoa/UIKit/+UISwitch.swift | WHeB/WPAppKit | 3b5e9e0d97f2d92c283ff12035bb154187dc7e27 | [
"MIT"
] | 5 | 2019-10-14T07:53:08.000Z | 2020-11-02T05:35:54.000Z | WPAppKit/Classes/Cocoa/UIKit/+UISwitch.swift | WHeB/WPAppKit | 3b5e9e0d97f2d92c283ff12035bb154187dc7e27 | [
"MIT"
] | null | null | null | WPAppKit/Classes/Cocoa/UIKit/+UISwitch.swift | WHeB/WPAppKit | 3b5e9e0d97f2d92c283ff12035bb154187dc7e27 | [
"MIT"
] | null | null | null | //
// +UISwitch.swift
// WPAppKit
//
// Created by 王鹏 on 2020/7/16.
//
import UIKit
public extension UISwitch {
/// 系统默认颜色的开关
convenience init(target: AnyObject,
action: Selector) {
self.init()
self.addTarget(target, action: action, for: .valueChanged)
}
... | 23.810811 | 66 | 0.550511 |
69d082abf2e3774d16b8c01802d6355cf3b19516 | 363 | swift | Swift | Mvvm/Globals/DateExtensions.swift | naim-ali/Mvvm-guide | 1a1ff9a1965f63778ff37377e524b19db8b1b1c1 | [
"MIT"
] | null | null | null | Mvvm/Globals/DateExtensions.swift | naim-ali/Mvvm-guide | 1a1ff9a1965f63778ff37377e524b19db8b1b1c1 | [
"MIT"
] | null | null | null | Mvvm/Globals/DateExtensions.swift | naim-ali/Mvvm-guide | 1a1ff9a1965f63778ff37377e524b19db8b1b1c1 | [
"MIT"
] | null | null | null | //
// DateExtensions.swift
// Mvvm
//
// Created by Sagepath on 2/26/18.
// Copyright © 2018 Sean Davis. All rights reserved.
//
import Foundation
extension Date
{
func toString() -> String
{
let dateFormatter = DateFormatter()
dateFormatter.dateFormat = "yyyy-MM-ddTHH:mm:ss"
retur... | 18.15 | 56 | 0.641873 |
00457be1d238ddae2f2c0f30d51a9e0db85f4d5a | 999 | swift | Swift | PledgKit/Classes/LoadingViewController.swift | pledgcorporate/ecard-ios | 4095c726837d40151fd272d2334c4208bf602a04 | [
"MIT"
] | null | null | null | PledgKit/Classes/LoadingViewController.swift | pledgcorporate/ecard-ios | 4095c726837d40151fd272d2334c4208bf602a04 | [
"MIT"
] | null | null | null | PledgKit/Classes/LoadingViewController.swift | pledgcorporate/ecard-ios | 4095c726837d40151fd272d2334c4208bf602a04 | [
"MIT"
] | null | null | null | //
// LoadingViewController.swift
//
// Created by Lukasz Zajdel on 08.08.2015.
// Copyright (c) 2015 Gotap. All rights reserved.
//
import UIKit
class PledgLoadingViewController: UIViewController {
var viewSettings:ViewConfiguration!
var loadingText:String = NSLocalizedString("Loading ...", comment:... | 24.975 | 148 | 0.642643 |
e5fb73a010cf21fd360c796437ffdfe28abcd0bf | 1,547 | kt | Kotlin | app/src/main/java/com/gnrchmt/swapi/networking/ApiClient.kt | gianrachmat/swapi-android | 9e2b080c35bb19d9b172aa9ebfdf03532e4ac264 | [
"MIT"
] | null | null | null | app/src/main/java/com/gnrchmt/swapi/networking/ApiClient.kt | gianrachmat/swapi-android | 9e2b080c35bb19d9b172aa9ebfdf03532e4ac264 | [
"MIT"
] | null | null | null | app/src/main/java/com/gnrchmt/swapi/networking/ApiClient.kt | gianrachmat/swapi-android | 9e2b080c35bb19d9b172aa9ebfdf03532e4ac264 | [
"MIT"
] | null | null | null | package com.gnrchmt.swapi.networking
import com.gnrchmt.swapi.BuildConfig
import com.gnrchmt.swapi.utils.BASE_URL
import com.gnrchmt.swapi.utils.TIME_OUT
import okhttp3.Interceptor
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.converter.scalars.Sca... | 31.571429 | 92 | 0.646412 |
c1a44e24bb2e026c870eddd000c60b55385208e8 | 325 | rs | Rust | 7kyu/simple-consecutive-pairs/benches/bench.rs | lincot/rusted-katana | 3979ff39d5c10f5d413debf0447d9e7588f2478f | [
"BSD-2-Clause"
] | null | null | null | 7kyu/simple-consecutive-pairs/benches/bench.rs | lincot/rusted-katana | 3979ff39d5c10f5d413debf0447d9e7588f2478f | [
"BSD-2-Clause"
] | null | null | null | 7kyu/simple-consecutive-pairs/benches/bench.rs | lincot/rusted-katana | 3979ff39d5c10f5d413debf0447d9e7588f2478f | [
"BSD-2-Clause"
] | null | null | null | #![feature(test)]
extern crate test;
use simple_consecutive_pairs::pairs;
use test::{black_box, Bencher};
#[bench]
fn bench(bencher: &mut Bencher) {
let arr = black_box(&[21, 20, 22, 40, 39, -56, 30, -55, 95, 94]);
bencher.iter(|| {
for _ in 0..1000 {
black_box(pairs(arr));
}
}... | 20.3125 | 69 | 0.566154 |
dd72683055f3b846157b3124d841d214e507ad63 | 3,157 | go | Go | cmd/things.go | mikehaller/iot-suite-cli | b70ce1c7acb51c2fd8371e627bb8655eb13773e2 | [
"Apache-2.0"
] | 4 | 2020-07-27T07:09:09.000Z | 2021-06-11T13:38:28.000Z | cmd/things.go | mikehaller/iot-suite-cli | b70ce1c7acb51c2fd8371e627bb8655eb13773e2 | [
"Apache-2.0"
] | null | null | null | cmd/things.go | mikehaller/iot-suite-cli | b70ce1c7acb51c2fd8371e627bb8655eb13773e2 | [
"Apache-2.0"
] | null | null | null | package cmd
import (
"github.com/mikehaller/iot-suite-cli/iotsuite"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
func init() {
rootCmd.AddCommand(thingsCmd)
thingsCmd.AddCommand(searchCmd)
thingsCmd.AddCommand(countCmd)
thingsCmd.AddCommand(solutionCmd)
thingsCmd.AddCommand(connectionsCmd)
searchCmd.... | 34.692308 | 166 | 0.725689 |
653326363f171f61656c55ab1ac0a5e07a6afbd8 | 18,085 | pyw | Python | quizme.pyw | dmahugh/quizme | edd5340db4524855c7e0dea0340339dafb10a78a | [
"MIT"
] | null | null | null | quizme.pyw | dmahugh/quizme | edd5340db4524855c7e0dea0340339dafb10a78a | [
"MIT"
] | null | null | null | quizme.pyw | dmahugh/quizme | edd5340db4524855c7e0dea0340339dafb10a78a | [
"MIT"
] | null | null | null | """GUI for taking tests based on quizme-xxx.json files.
"""
import os
import sys
import json
from random import randint
import tkinter as tk
from tkinter import font
from tkinter import ttk
from tkinter import filedialog
from tkinter import messagebox
from widgetrefs import widgets
def center_window(window):
"""... | 38.397028 | 80 | 0.648825 |
f0150ff2c65a0c4f5e6fe34521cca028d15290ed | 170 | js | JavaScript | packages/java-shell/src/test/resources/db/help.js | deriamis/mongosh | f1d40bbac736ed7b8998491c2511f5809c17efe8 | [
"Apache-2.0"
] | 175 | 2019-10-03T01:47:43.000Z | 2022-03-26T20:49:00.000Z | packages/java-shell/src/test/resources/db/help.js | addaleax/mongosh | 490ae2e01da6ec8a639aeca4991b2348fe5ee6f7 | [
"Apache-2.0"
] | 203 | 2020-01-14T10:24:32.000Z | 2022-03-31T13:42:56.000Z | packages/java-shell/src/test/resources/db/help.js | addaleax/mongosh | 490ae2e01da6ec8a639aeca4991b2348fe5ee6f7 | [
"Apache-2.0"
] | 24 | 2019-12-30T09:35:39.000Z | 2022-03-16T19:07:13.000Z | // command dontCheckValue
help
// command dontCheckValue
help()
// command getArrayItem=0 extractProperty=name
help
// command getArrayItem=0 extractProperty=name
help()
| 18.888889 | 46 | 0.8 |
ffbcdd522edce4278b434e2e9b581e36c8db1f6d | 225 | asm | Assembly | data/mapHeaders/OaksLab.asm | AmateurPanda92/pokemon-rby-dx | f7ba1cc50b22d93ed176571e074a52d73360da93 | [
"MIT"
] | 9 | 2020-07-12T19:44:21.000Z | 2022-03-03T23:32:40.000Z | data/mapHeaders/OaksLab.asm | JStar-debug2020/pokemon-rby-dx | c2fdd8145d96683addbd8d9075f946a68d1527a1 | [
"MIT"
] | 7 | 2020-07-16T10:48:52.000Z | 2021-01-28T18:32:02.000Z | data/mapHeaders/OaksLab.asm | JStar-debug2020/pokemon-rby-dx | c2fdd8145d96683addbd8d9075f946a68d1527a1 | [
"MIT"
] | 2 | 2021-03-28T18:33:43.000Z | 2021-05-06T13:12:09.000Z | OaksLab_h:
db DOJO ; tileset
db OAKS_LAB_HEIGHT, OAKS_LAB_WIDTH ; dimensions (y, x)
dw OaksLab_Blocks ; blocks
dw OaksLab_TextPointers ; texts
dw OaksLab_Script ; scripts
db 0 ; connections
dw OaksLab_Object ; objects
| 25 | 55 | 0.773333 |
d0b82274dcbe2a7abf976bf06b296df7794ef533 | 4,028 | css | CSS | style/white-theme.css | ONLYOFFICE/plugin-photoeditor | 995b5f62152f86b2663ebe702f3cbeece79e3d5b | [
"Apache-2.0",
"MIT"
] | 2 | 2020-10-07T17:00:38.000Z | 2021-02-22T04:47:33.000Z | style/white-theme.css | ONLYOFFICE/plugin-photoeditor | 995b5f62152f86b2663ebe702f3cbeece79e3d5b | [
"Apache-2.0",
"MIT"
] | 3 | 2021-01-14T17:22:52.000Z | 2022-02-06T16:45:44.000Z | style/white-theme.css | ONLYOFFICE/plugin-photoeditor | 995b5f62152f86b2663ebe702f3cbeece79e3d5b | [
"Apache-2.0",
"MIT"
] | 7 | 2020-10-07T15:38:20.000Z | 2022-03-31T06:51:43.000Z | .tui-image-editor-container .tui-image-editor-controls {
background-color: #f1f1f1;
}
.tui-image-editor-container .tui-image-editor-menu>.tui-image-editor-item{
cursor: default;
}
#tie-btn-undo:hover,#tie-btn-redo:hover,#tie-btn-reset:hover,#tie-btn-delete:hover,#tie-btn-delete-all:hover,#tie-btn-crop:hover,#ti... | 73.236364 | 1,368 | 0.757448 |
c8a92524e89f80364c834a5e6b89fdd0321207c4 | 7,413 | swift | Swift | CodeEdit/ContentView.swift | Gurpreet-Singh121/CodeEdit | ffa51e881b80b6e7a6bcc70375bd9d388fe1c5e1 | [
"MIT"
] | null | null | null | CodeEdit/ContentView.swift | Gurpreet-Singh121/CodeEdit | ffa51e881b80b6e7a6bcc70375bd9d388fe1c5e1 | [
"MIT"
] | null | null | null | CodeEdit/ContentView.swift | Gurpreet-Singh121/CodeEdit | ffa51e881b80b6e7a6bcc70375bd9d388fe1c5e1 | [
"MIT"
] | null | null | null | //
// ContentView.swift
// CodeEdit
//
// Created by Austin Condiff on 3/10/22.
//
import SwiftUI
import WorkspaceClient
struct WorkspaceView: View {
@State private var directoryURL: URL?
@State private var workspaceClient: WorkspaceClient?
// TODO: Create a ViewModel to hold selectedId, openFileItems, ..... | 36.880597 | 144 | 0.440308 |
1e5bf177c882889868c377f3a3255466ed71de55 | 169 | css | CSS | client/src/app/app.component.css | MihailValkov/shared-trips | ae8987c14fa1fb8d945ae00c321d7d482e505361 | [
"MIT"
] | 1 | 2021-11-06T09:52:40.000Z | 2021-11-06T09:52:40.000Z | client/src/app/app.component.css | MihailValkov/shared-trips | ae8987c14fa1fb8d945ae00c321d7d482e505361 | [
"MIT"
] | null | null | null | client/src/app/app.component.css | MihailValkov/shared-trips | ae8987c14fa1fb8d945ae00c321d7d482e505361 | [
"MIT"
] | null | null | null | :host {
display: flex;
flex-direction: column;
}
main {
position: relative;
min-height: 92vh;
}
@media (max-width: 768px) {
main {
margin-top: 50px;
}
} | 12.071429 | 27 | 0.60355 |
397abf0a6e87080dd849df7e8eadfddfe0db4163 | 2,155 | asm | Assembly | Sources/Elastos/Runtime/Core/carapi/invokeCallback_ievc.asm | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Runtime/Core/carapi/invokeCallback_ievc.asm | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Runtime/Core/carapi/invokeCallback_ievc.asm | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | ;;=========================================================================
;; Copyright (C) 2012 The Elastos Open Source Project
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; ... | 23.423913 | 75 | 0.485847 |
74bab5503aa95f5539cf8b25c1d65b327961e764 | 415 | js | JavaScript | WebService/Web/src/App.js | mgscuteri/ExampleGoWebApp | 52f522cdc4382a851fb072c7dea14716276e78cc | [
"MIT"
] | 1 | 2019-11-18T17:25:54.000Z | 2019-11-18T17:25:54.000Z | WebService/Web/src/App.js | mgscuteri/ExampleGoWebApp | 52f522cdc4382a851fb072c7dea14716276e78cc | [
"MIT"
] | 7 | 2019-12-30T04:21:46.000Z | 2022-03-08T23:07:11.000Z | WebService/Web/src/App.js | mgscuteri/ExampleGoWebApp | 52f522cdc4382a851fb072c7dea14716276e78cc | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import ReactDOM from 'react-dom'
import { Route, Link, BrowserRouter as Router } from 'react-router-dom'
import './App.css';
import Navbar from './modules/site/navbar.js'
import Footer from './modules/site/footer.js'
class App extends Component {
render() {
return (
... | 17.291667 | 71 | 0.628916 |
63fdeeb769910c1fdd2ebed776cf3c52092b9a01 | 5,424 | lua | Lua | lua/core/plugins.lua | ackerr/nvim | f598fd94eaaac522c1c43b2ebec5e50e0ed072df | [
"MIT"
] | null | null | null | lua/core/plugins.lua | ackerr/nvim | f598fd94eaaac522c1c43b2ebec5e50e0ed072df | [
"MIT"
] | null | null | null | lua/core/plugins.lua | ackerr/nvim | f598fd94eaaac522c1c43b2ebec5e50e0ed072df | [
"MIT"
] | 1 | 2022-01-28T06:49:25.000Z | 2022-01-28T06:49:25.000Z | local vim = vim
local fn = vim.fn
-- Automatically install packer
local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
local packer_bootstarp
if fn.empty(fn.glob(install_path)) > 0 then
packer_bootstarp = fn.system({
"git",
"clone",
"--depth",
"1",
"https://github.com/wbthomason/... | 25.952153 | 106 | 0.615044 |
433d605b62e1fa24bfa02690f9fef50f6ee904de | 636 | sql | SQL | migrations/2021-06-18-223436_instances/up.sql | Xe/waifud | 5fbbee43337a14a5912c6d62238392b1a6514a1f | [
"MIT"
] | 50 | 2021-06-02T12:52:56.000Z | 2022-03-07T12:49:16.000Z | migrations/2021-06-18-223436_instances/up.sql | Xe/waifud | 5fbbee43337a14a5912c6d62238392b1a6514a1f | [
"MIT"
] | 13 | 2021-06-20T01:07:23.000Z | 2022-03-28T14:31:30.000Z | migrations/2021-06-18-223436_instances/up.sql | Xe/mkvm | 5fbbee43337a14a5912c6d62238392b1a6514a1f | [
"MIT"
] | 1 | 2022-02-07T04:07:00.000Z | 2022-02-07T04:07:00.000Z | CREATE TABLE IF NOT EXISTS connections
( hostname TEXT NOT NULL PRIMARY KEY
, connection_uri TEXT NOT NULL
);
CREATE TABLE IF NOT EXISTS instances
( id TEXT NOT NULL PRIMARY KEY
, "name" TEXT UNIQUE NOT NULL
, ram INTEGER NOT NULL DEFAULT 512
, cores INTEGE... | 31.8 | 55 | 0.584906 |
f1ee301d537fa51934aa494fd8d238207ac1dabd | 7,733 | rb | Ruby | app/lib/omni_auth/strategies/moj_oauth2.rb | uk-gov-mirror/ministryofjustice.laa-apply-for-legal-aid | a73a4e329b342ea8bfa32b07037f0895abdd2363 | [
"MIT"
] | 16 | 2018-11-26T10:54:26.000Z | 2022-02-07T16:46:42.000Z | app/lib/omni_auth/strategies/moj_oauth2.rb | uk-gov-mirror/ministryofjustice.laa-apply-for-legal-aid | a73a4e329b342ea8bfa32b07037f0895abdd2363 | [
"MIT"
] | 697 | 2018-11-02T11:53:39.000Z | 2022-03-31T07:36:17.000Z | app/lib/omni_auth/strategies/moj_oauth2.rb | uk-gov-mirror/ministryofjustice.laa-apply-for-legal-aid | a73a4e329b342ea8bfa32b07037f0895abdd2363 | [
"MIT"
] | 10 | 2019-05-02T20:24:09.000Z | 2021-09-17T16:23:41.000Z | require 'oauth2'
require 'omniauth'
require 'securerandom'
require 'socket' # for SocketError
require 'timeout' # for Timeout::Error
# rubocop:disable Lint/MissingSuper
# :nocov:
module OmniAuth
module Strategies
# Authentication strategy for connecting with APIs constructed using
# the [OAuth 2.... | 36.649289 | 169 | 0.649037 |
705fa830cd1b23f980fa5c453390db38c792b149 | 8,193 | lua | Lua | Slimetasia/Scripts/NapalmTrap.lua | JasonWyx/Slimetasia | 5f69deb68da740d326c8514b881583f1e608e5d5 | [
"MIT"
] | null | null | null | Slimetasia/Scripts/NapalmTrap.lua | JasonWyx/Slimetasia | 5f69deb68da740d326c8514b881583f1e608e5d5 | [
"MIT"
] | null | null | null | Slimetasia/Scripts/NapalmTrap.lua | JasonWyx/Slimetasia | 5f69deb68da740d326c8514b881583f1e608e5d5 | [
"MIT"
] | null | null | null | -- VARIABLES
local owner_Transform = nil
local owner_meshRenderer = nil
local owner_emitter = nil
local owner_audioEmitter = nil
local timer = 0.0 -- general timer
local timer2 = 0.0 -- timer for dealing damage per tick
local timer3 = 0.0 -- timer for dealing final explision... | 29.577617 | 98 | 0.643598 |
f01f07544e9daefd5a962cd57dc022f845636eaa | 248 | js | JavaScript | Chapter12TheBrowserObjectModel/TheWindowObject/NavigatingAndOpeningWindows/PoppingUpWindows/PoppingUpWindowsExample02.js | Li-YangZhong/professional-javascript-for-web-developers | f254b6fa78eb8e47ce8eb06978fbc1c3e5aab51f | [
"MIT"
] | 31 | 2019-10-10T00:31:02.000Z | 2022-02-18T00:40:24.000Z | Chapter12TheBrowserObjectModel/TheWindowObject/NavigatingAndOpeningWindows/PoppingUpWindows/PoppingUpWindowsExample02.js | necessityOVO/professional-javascript-for-web-developers-master | f1672543430508eac489939aa242a1ac8e1d549a | [
"MIT"
] | 13 | 2020-02-17T23:56:43.000Z | 2022-01-08T03:46:17.000Z | Chapter12TheBrowserObjectModel/TheWindowObject/NavigatingAndOpeningWindows/PoppingUpWindows/PoppingUpWindowsExample02.js | necessityOVO/professional-javascript-for-web-developers-master | f1672543430508eac489939aa242a1ac8e1d549a | [
"MIT"
] | 12 | 2020-10-18T11:04:00.000Z | 2022-03-26T14:43:22.000Z | let wroxWin = window.open("http://www.wrox.com/",
"wroxWindow",
"height=400,width=400,top=10,left=10,resizable=yes");
// resize it
wroxWin.resizeTo(500, 500);
// move it
wroxWin.moveTo(100, 100);
| 24.8 | 67 | 0.556452 |
994f4f225ccea36026d16995cd0570c8dd5c95b9 | 17,547 | h | C | contrib/gnu/gmake/dist/make.h | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | contrib/gnu/gmake/dist/make.h | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | null | null | null | contrib/gnu/gmake/dist/make.h | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* Miscellaneous global declarations and portability cruft for GNU Make.
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software
Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or... | 28.671569 | 134 | 0.706161 |
49df6fae6d8b8bdddb88cf7ecec16ed2cf85d662 | 7,871 | swift | Swift | tm155-mac/tm155-tool-x/HIDDevice.swift | Treeki/TM155-tools | 24451fde5bfe0d92d448ba4c9e42e3af27782175 | [
"MIT"
] | 8 | 2018-12-17T09:08:59.000Z | 2021-04-23T20:04:24.000Z | tm155-mac/tm155-tool-x/HIDDevice.swift | Treeki/TM155-tools | 24451fde5bfe0d92d448ba4c9e42e3af27782175 | [
"MIT"
] | null | null | null | tm155-mac/tm155-tool-x/HIDDevice.swift | Treeki/TM155-tools | 24451fde5bfe0d92d448ba4c9e42e3af27782175 | [
"MIT"
] | 1 | 2020-02-24T18:21:00.000Z | 2020-02-24T18:21:00.000Z | //
// HIDDevice.swift
// tm155-tool-x
//
// Created by Ash Wolf on 23/12/2018.
// Copyright © 2018 Ash Wolf. All rights reserved.
//
import IOKit.hid
import Foundation
enum HIDDeviceError: Error {
case ioError(IOReturn)
case deviceAlreadyOpened
}
class HIDDevice {
let base: IOHIDDevice
private va... | 37.303318 | 134 | 0.623428 |
ddcab4150e1a5746abced8d6e68fc8514227d81c | 3,449 | go | Go | internal/server/request/user_test.go | ssup2/ssup2ket-user-service | 71b86320c7846669bbcdc9f09df5bc999f4b8252 | [
"Apache-2.0"
] | 7 | 2021-12-20T14:43:18.000Z | 2022-01-16T23:50:43.000Z | internal/server/request/user_test.go | ssup2ket/ssup2ket-auth-service | 71b86320c7846669bbcdc9f09df5bc999f4b8252 | [
"Apache-2.0"
] | null | null | null | internal/server/request/user_test.go | ssup2ket/ssup2ket-auth-service | 71b86320c7846669bbcdc9f09df5bc999f4b8252 | [
"Apache-2.0"
] | null | null | null | package request
import (
"testing"
"github.com/ssup2ket/ssup2ket-auth-service/internal/test"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
)
type userSuite struct {
suite.Suite
}
func TestInit(t *testing.T) {
suite.Run(t, new(userSuite))
}
// UserCreate
func (h *userSuite) TestBin... | 38.752809 | 159 | 0.783995 |
32614e556340985934208e2d308d9e2a38333b8d | 1,457 | swift | Swift | Example/Moya-KakaJson/Douban/DoubanApi.swift | Guoxiafei/Moya-KakaJson | e11a00c2d6e8041ab87cbcb9a3fa1d5b0b260104 | [
"Apache-2.0"
] | 2 | 2020-08-05T03:11:32.000Z | 2021-04-06T07:58:35.000Z | Example/Moya-KakaJson/Douban/DoubanApi.swift | Guoxiafei/Moya-KakaJson | e11a00c2d6e8041ab87cbcb9a3fa1d5b0b260104 | [
"Apache-2.0"
] | null | null | null | Example/Moya-KakaJson/Douban/DoubanApi.swift | Guoxiafei/Moya-KakaJson | e11a00c2d6e8041ab87cbcb9a3fa1d5b0b260104 | [
"Apache-2.0"
] | null | null | null | //
/**
* @Name: DoubanApi.swift
* @Description:
* @Author: guoxiafei
* @Date: 2020/5/9
* @Copyright: Copyright © 2020 China Electronic Intelligence System Technology Co., Ltd. All rights reserved.
*/
import Foundation
import Moya
let DouBanProvider = MoyaProvider<DouBan>(plugins: [])
enum DouBan {
case channels... | 21.746269 | 109 | 0.541524 |
f02d80a4afeebaf1a2e3f75631b09c3fc74059e3 | 2,538 | py | Python | src/flask_easy/auth.py | Josephmaclean/flask-easy | 64cb647b0dbcd031cb8d27cc60889e50c959e1ca | [
"MIT"
] | 1 | 2021-12-30T12:25:05.000Z | 2021-12-30T12:25:05.000Z | src/flask_easy/auth.py | Josephmaclean/flask-easy | 64cb647b0dbcd031cb8d27cc60889e50c959e1ca | [
"MIT"
] | null | null | null | src/flask_easy/auth.py | Josephmaclean/flask-easy | 64cb647b0dbcd031cb8d27cc60889e50c959e1ca | [
"MIT"
] | null | null | null | """
auth.py
Author: Joseph Maclean Arhin
"""
import os
import inspect
from functools import wraps
import jwt
from flask import request
from jwt.exceptions import ExpiredSignatureError, InvalidTokenError, PyJWTError
from .exc import Unauthorized, ExpiredTokenException, OperationError
def auth_required(other_roles=No... | 32.126582 | 79 | 0.593775 |
7adf8e67d42aa76cde76421b1599701d958d1b95 | 2,722 | rs | Rust | src/design/param.rs | jobtijhuis/tydi | 326c0636ac185ad97e9780d2047c44626050f1a3 | [
"Apache-2.0"
] | null | null | null | src/design/param.rs | jobtijhuis/tydi | 326c0636ac185ad97e9780d2047c44626050f1a3 | [
"Apache-2.0"
] | 26 | 2021-09-06T04:29:55.000Z | 2022-02-16T04:23:42.000Z | src/design/param.rs | jobtijhuis/tydi | 326c0636ac185ad97e9780d2047c44626050f1a3 | [
"Apache-2.0"
] | 1 | 2021-09-21T14:26:19.000Z | 2021-09-21T14:26:19.000Z | use std::collections::HashMap;
use std::convert::TryInto;
///! Generic parameter type
use crate::design::{ParamHandle, ParamKey, ParamStoreKey};
use crate::logical::LogicalType;
use crate::{Document, Error, Identify, Result, UniqueKeyBuilder};
#[derive(Debug, PartialEq)]
pub enum ParameterVariant {
Type(LogicalTy... | 24.088496 | 83 | 0.541881 |
08628f4fb3491dfa1c7518936fc46c9026e75086 | 287 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/tangible/quest/naboo_deeja_peak_research_equipment.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/quest/naboo_deeja_peak_research_equipment.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/quest/naboo_deeja_peak_research_equipment.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_tangible_quest_naboo_deeja_peak_research_equipment = object_tangible_quest_shared_naboo_deeja_peak_research_equipment:new {
}
ObjectTemplates:addTemplate(object_tangible_quest_naboo_deeja_peak_research_equipment, "object/tangible/quest/naboo_deeja_peak_research_equipment.iff")
| 47.833333 | 151 | 0.919861 |
c4696644edbdcb38e5a9cbf029da9b695d91ccc0 | 1,082 | c | C | libft/src/libft/ft_circ_buffer_set_trash_callback.c | pribault/libsocket | 6c18d9dd48ac52f99a70a28da36a80862d33b642 | [
"MIT"
] | null | null | null | libft/src/libft/ft_circ_buffer_set_trash_callback.c | pribault/libsocket | 6c18d9dd48ac52f99a70a28da36a80862d33b642 | [
"MIT"
] | null | null | null | libft/src/libft/ft_circ_buffer_set_trash_callback.c | pribault/libsocket | 6c18d9dd48ac52f99a70a28da36a80862d33b642 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_circ_buffer_set_trash_callback.c :+: :+: :+: ... | 51.52381 | 80 | 0.245841 |
b6166736ed0acc55aa566d316d5b6772f14e6759 | 170 | rb | Ruby | lib/interface/interface.rb | Verba/sql2avro | 1c4b1253ea03167ec71f3a4a88f64a169ebece60 | [
"Apache-2.0"
] | 1 | 2016-08-28T08:46:51.000Z | 2016-08-28T08:46:51.000Z | lib/interface/interface.rb | Verba/sql2avro | 1c4b1253ea03167ec71f3a4a88f64a169ebece60 | [
"Apache-2.0"
] | null | null | null | lib/interface/interface.rb | Verba/sql2avro | 1c4b1253ea03167ec71f3a4a88f64a169ebece60 | [
"Apache-2.0"
] | null | null | null | class DbInterface
def schema(table)
raise "Return Avro JSON schema for #{table}"
end
def data(table)
raise "Return Avro JSON data for #{table}"
end
end
| 15.454545 | 48 | 0.676471 |
9c5a9004f04be08c98adb10bcc91bd0ca66b6c59 | 8,194 | js | JavaScript | genoRoller.js | jaylapham/mesesh-tools | 471d5c4e5164943c680c64240b6d31a042c36771 | [
"MIT"
] | null | null | null | genoRoller.js | jaylapham/mesesh-tools | 471d5c4e5164943c680c64240b6d31a042c36771 | [
"MIT"
] | null | null | null | genoRoller.js | jaylapham/mesesh-tools | 471d5c4e5164943c680c64240b6d31a042c36771 | [
"MIT"
] | null | null | null | const _ = require('lodash');
const rwc = require('random-weighted-choice');
/////////////////////////
// begin data section //
/////////////////////////
const sexOptions = ["Male", "Female"];
const baseCoatOptions = [{"Sandstone": 0.47, "code":"Ss"}, {"Chestnut": 0.26, "code":"Ch"}, {"Canyon": 0.16, "code":"Ca"}, {"O... | 48.77381 | 642 | 0.53051 |
7f764dbd8a22b6665cdf1bb46bc1ac67d0f70847 | 1,119 | rs | Rust | src/tools/rustfmt/tests/target/issue-5088/very_long_comment_wrap_comments_true.rs | ohno418/rust | 395a09c3dafe0c7838c9ca41d2b47bb5e79a5b6d | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 66,762 | 2015-01-01T08:32:03.000Z | 2022-03-31T23:26:40.000Z | src/tools/rustfmt/tests/target/issue-5088/very_long_comment_wrap_comments_true.rs | maxrovskyi/rust | 51558ccb8e7cea87c6d1c494abad5451e5759979 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 76,993 | 2015-01-01T00:06:33.000Z | 2022-03-31T23:59:15.000Z | src/tools/rustfmt/tests/target/issue-5088/very_long_comment_wrap_comments_true.rs | maxrovskyi/rust | 51558ccb8e7cea87c6d1c494abad5451e5759979 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11,787 | 2015-01-01T00:01:19.000Z | 2022-03-31T19:03:42.000Z | // rustfmt-wrap_comments: true
// - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
// tempor incididunt ut labore et dolore magna aliqua.
// - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
// tempor incididunt ut labore et dolore magna aliqua.
// * Lorem ipsum do... | 50.863636 | 76 | 0.75067 |
540291b9b9841da248f3a9df0075913211d93c4b | 1,943 | go | Go | parse/date/parse_test.go | mono83/charlie | d72b88c147b28d72352b7fdefdb7a417ca7d3cce | [
"MIT"
] | 2 | 2018-09-15T09:39:27.000Z | 2018-09-25T19:09:53.000Z | parse/date/parse_test.go | mono83/charlie | d72b88c147b28d72352b7fdefdb7a417ca7d3cce | [
"MIT"
] | 22 | 2018-09-14T08:49:27.000Z | 2019-02-10T14:05:11.000Z | parse/date/parse_test.go | mono83/charlie | d72b88c147b28d72352b7fdefdb7a417ca7d3cce | [
"MIT"
] | 1 | 2018-09-17T18:30:53.000Z | 2018-09-17T18:30:53.000Z | package date
import (
"github.com/stretchr/testify/assert"
"testing"
"time"
)
func TestPatterns(t *testing.T) {
for layout, r := range patterns {
t.Run("Layout "+layout, func(t *testing.T) {
assert.Regexp(t, r, layout)
})
}
}
var parseProvider = []struct {
Data string
Time time.Time
Parsed bool
}{... | 26.986111 | 76 | 0.597015 |
8e33bac8cf2bd182ae2fb7e2b7357381f18916ec | 650 | rake | Ruby | lib/tasks/periodic_jobs.rake | sj26/sidekiq-cronitor | e61a8af15a3d3b7db9c0033c2a178402360928d9 | [
"MIT"
] | null | null | null | lib/tasks/periodic_jobs.rake | sj26/sidekiq-cronitor | e61a8af15a3d3b7db9c0033c2a178402360928d9 | [
"MIT"
] | 1 | 2020-03-10T19:56:05.000Z | 2020-03-11T23:12:50.000Z | lib/tasks/periodic_jobs.rake | cronitorio/sidekiq-cronitor | e61a8af15a3d3b7db9c0033c2a178402360928d9 | [
"MIT"
] | 1 | 2017-12-01T07:44:34.000Z | 2017-12-01T07:44:34.000Z | # This is a very basic/naive implementation of syncing your job schedules to be monitored
# I don't have access to a Sidekiq Pro license so this is just written based on what documentation I could find
# so I haven't been able to test this actually runs/works, whereas the sidekiq-scheduler version I did test.
# this i... | 43.333333 | 114 | 0.769231 |
fe09189f423ef1ebd5418cdddb923a88150ff419 | 776 | c | C | ITP/Atividades/ITP - Ponteiros 1 - Lista/4.c | danielhenrif/C | 0280e65b9c21d5ae7cb697a8df562373c42c3a3f | [
"MIT"
] | null | null | null | ITP/Atividades/ITP - Ponteiros 1 - Lista/4.c | danielhenrif/C | 0280e65b9c21d5ae7cb697a8df562373c42c3a3f | [
"MIT"
] | null | null | null | ITP/Atividades/ITP - Ponteiros 1 - Lista/4.c | danielhenrif/C | 0280e65b9c21d5ae7cb697a8df562373c42c3a3f | [
"MIT"
] | 1 | 2021-01-23T18:39:46.000Z | 2021-01-23T18:39:46.000Z | #include <stdio.h>
void MAXMIN(int n, int *m){
int maior = *m ,menor = *m;
int i_max = 0 ,j_max = 0 ,i_min = 0 ,j_min = 0;
for (int i = 0; i < n ; i++)
{
for (int j = 0; j < n; j++)
{
if(*m > maior){
maior = *m;
i_max = i; j_max = j;
... | 19.4 | 75 | 0.360825 |
70852e58b975eb1821a51a68343a55d07416cb7a | 38 | c | C | sample/hello/add.c | badsaarow/docker-googletest | f8f4863af71d29c46014960fc5ccbf45bda2f327 | [
"MIT"
] | null | null | null | sample/hello/add.c | badsaarow/docker-googletest | f8f4863af71d29c46014960fc5ccbf45bda2f327 | [
"MIT"
] | 3 | 2021-11-22T01:30:05.000Z | 2021-11-22T02:47:48.000Z | sample/hello/add.c | badsaarow/docker-googletest | f8f4863af71d29c46014960fc5ccbf45bda2f327 | [
"MIT"
] | null | null | null | int add(int a, int b) {
return -1;
} | 12.666667 | 23 | 0.552632 |
0cf6042dc3345403de0c17929e41f0f3341faa0a | 34 | kts | Kotlin | settings.gradle.kts | RubixDev/Mastermind | c8511cc8eb084737ae09de99aa683bf40059224f | [
"MIT"
] | 1 | 2022-01-12T18:33:46.000Z | 2022-01-12T18:33:46.000Z | settings.gradle.kts | RubixDev/Mastermind | c8511cc8eb084737ae09de99aa683bf40059224f | [
"MIT"
] | null | null | null | settings.gradle.kts | RubixDev/Mastermind | c8511cc8eb084737ae09de99aa683bf40059224f | [
"MIT"
] | 1 | 2021-04-21T10:33:45.000Z | 2021-04-21T10:33:45.000Z |
rootProject.name = "Mastermind"
| 8.5 | 31 | 0.735294 |
41e40478e54f866ded564ae52467b868d4a3c0b3 | 1,662 | h | C | usr/src/head/valtools.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/head/valtools.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/head/valtools.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | 1 | 2020-12-30T00:04:16.000Z | 2020-12-30T00:04:16.000Z | /*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* o... | 22.459459 | 70 | 0.741276 |
e789f4789a22a8efe931140f3d2390f07fbd368f | 177 | js | JavaScript | src/redux/actions/email.js | Valentine-Efagene/SSR-REACT-FIREBASE | 3e798fa1be48b96b21fe4ac1cc6388354f1b2c32 | [
"Apache-2.0"
] | null | null | null | src/redux/actions/email.js | Valentine-Efagene/SSR-REACT-FIREBASE | 3e798fa1be48b96b21fe4ac1cc6388354f1b2c32 | [
"Apache-2.0"
] | null | null | null | src/redux/actions/email.js | Valentine-Efagene/SSR-REACT-FIREBASE | 3e798fa1be48b96b21fe4ac1cc6388354f1b2c32 | [
"Apache-2.0"
] | null | null | null | const logIn = (email) => {
return {
type: 'LOG_IN',
payload: email,
};
};
const logOut = () => {
return {
type: 'LOG_OUT',
};
};
export { logIn, logOut };
| 11.8 | 26 | 0.497175 |
f59ca57d95a5ea31977535487adb256442d75afe | 13,356 | swift | Swift | Stage1st/Scene/QuoteFloor/QuoteFloorViewController.swift | tonyunreal/Stage1st-Reader | f0ed84e519adbf141d017277c76698b99488cb7b | [
"BSD-3-Clause"
] | null | null | null | Stage1st/Scene/QuoteFloor/QuoteFloorViewController.swift | tonyunreal/Stage1st-Reader | f0ed84e519adbf141d017277c76698b99488cb7b | [
"BSD-3-Clause"
] | null | null | null | Stage1st/Scene/QuoteFloor/QuoteFloorViewController.swift | tonyunreal/Stage1st-Reader | f0ed84e519adbf141d017277c76698b99488cb7b | [
"BSD-3-Clause"
] | null | null | null | //
// QuoteFloorViewController.swift
// Stage1st
//
// Created by Zheng Li on 7/12/15.
// Copyright (c) 2015 Renaissance. All rights reserved.
//
import WebKit
import CocoaLumberjack
import JTSImageViewController
import Photos
class QuoteFloorViewController: UIViewController, ImagePresenter, UserPresenter, Conten... | 37.943182 | 171 | 0.648398 |
040e499aeaf1d9a8e53e09ac08708e1c0fd9d331 | 648 | js | JavaScript | ui/app/components/pages/confirm-approve/confirm-approve.container.js | macman178/metamask-extension | f31e87dcd5cec09e81c741e311efc3793c9d9b98 | [
"MIT"
] | null | null | null | ui/app/components/pages/confirm-approve/confirm-approve.container.js | macman178/metamask-extension | f31e87dcd5cec09e81c741e311efc3793c9d9b98 | [
"MIT"
] | null | null | null | ui/app/components/pages/confirm-approve/confirm-approve.container.js | macman178/metamask-extension | f31e87dcd5cec09e81c741e311efc3793c9d9b98 | [
"MIT"
] | null | null | null | import { connect } from 'react-redux'
import ConfirmApprove from './confirm-approve.component'
const mapStateToProps = state => {
const { confirmTransaction } = state
const {
tokenData = {},
txData: { txParams: { to: tokenAddress } = {} } = {},
tokenProps: { tokenSymbol } = {},
} = confirmTransaction... | 22.344828 | 59 | 0.631173 |
7f1e19ff2a04f62a5cd78e2a0bdfa1aea00f00b1 | 5,073 | go | Go | cluster-autoscaler/cloudprovider/ovhcloud/sdk/nodepool.go | carlosjgp/autoscaler | f4c4a77940f9dbdb45bb2a181965ab201b22aafb | [
"Apache-2.0"
] | 5 | 2021-08-10T01:10:45.000Z | 2022-01-09T06:54:10.000Z | cluster-autoscaler/cloudprovider/ovhcloud/sdk/nodepool.go | carlosjgp/autoscaler | f4c4a77940f9dbdb45bb2a181965ab201b22aafb | [
"Apache-2.0"
] | 33 | 2019-06-12T12:28:43.000Z | 2021-03-11T13:56:05.000Z | cluster-autoscaler/cloudprovider/ovhcloud/sdk/nodepool.go | carlosjgp/autoscaler | f4c4a77940f9dbdb45bb2a181965ab201b22aafb | [
"Apache-2.0"
] | 6 | 2021-04-06T19:03:48.000Z | 2021-08-02T09:30:57.000Z | /*
Copyright 2020 The Kubernetes 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 agreed to in writing, ... | 28.661017 | 150 | 0.731126 |
e7bf73b1be26bc42b68af87ed6d3cdc8c52f10fa | 151 | kt | Kotlin | idea/testData/inspections/unusedSymbol/function/membersOfLocalClass.kt | kotlin-playground/kotlin | 3ca7925138e48e065cf698418ae389dd1fd3c11b | [
"Apache-2.0"
] | null | null | null | idea/testData/inspections/unusedSymbol/function/membersOfLocalClass.kt | kotlin-playground/kotlin | 3ca7925138e48e065cf698418ae389dd1fd3c11b | [
"Apache-2.0"
] | null | null | null | idea/testData/inspections/unusedSymbol/function/membersOfLocalClass.kt | kotlin-playground/kotlin | 3ca7925138e48e065cf698418ae389dd1fd3c11b | [
"Apache-2.0"
] | null | null | null | fun main(args: Array<String>) {
class LocalClass {
fun f() {
}
val p = 5
}
LocalClass().f()
LocalClass().p
} | 12.583333 | 31 | 0.450331 |
df7d305c5136847dd98503cc02eb48b9c1a81456 | 633 | asm | Assembly | programs/oeis/182/A182428.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/182/A182428.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/182/A182428.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A182428: a(n) = 2n(19-n).
; 0,36,68,96,120,140,156,168,176,180,180,176,168,156,140,120,96,68,36,0,-40,-84,-132,-184,-240,-300,-364,-432,-504,-580,-660,-744,-832,-924,-1020,-1120,-1224,-1332,-1444,-1560,-1680,-1804,-1932,-2064,-2200,-2340,-2484,-2632,-2784,-2940,-3100,-3264,-3432,-3604,-3780,-3960,-4144,-4332,-4524,-4... | 70.333333 | 554 | 0.652449 |
50f338b2a1befe7461812b129e405c1857211f50 | 820 | lua | Lua | scripts/vscripts/units/dummy_unit_passive.lua | windybirth/windy10v10ai | a18376d676bfb389f2e6f495526dce19001383cf | [
"MIT"
] | 2 | 2022-03-15T06:07:36.000Z | 2022-03-16T01:25:54.000Z | scripts/vscripts/units/dummy_unit_passive.lua | windybirth/windy10v10ai | a18376d676bfb389f2e6f495526dce19001383cf | [
"MIT"
] | 56 | 2022-02-19T07:44:21.000Z | 2022-03-27T12:22:26.000Z | scripts/vscripts/units/dummy_unit_passive.lua | windybirth/windy10v10ai | a18376d676bfb389f2e6f495526dce19001383cf | [
"MIT"
] | 1 | 2022-03-28T12:25:56.000Z | 2022-03-28T12:25:56.000Z | LinkLuaModifier( "modifier_dummy_unit_passive", "units/dummy_unit_passive", LUA_MODIFIER_MOTION_NONE )
dummy_unit_passive2 = dummy_unit_passive2 or class({})
modifier_dummy_unit_passive = modifier_dummy_unit_passive or class({})
function dummy_unit_passive2:Spawn()
if self:GetLevel() == 0 then
self:SetLeve... | 30.37037 | 102 | 0.745122 |
0bd2387df28928ed26df35e71f8e36b2558a91f0 | 220 | js | JavaScript | lib/index.js | redblow/wyvern-js | 89a0fb779b29c139f2d85dfa9c0b625cb23ead44 | [
"MIT"
] | 15 | 2020-10-08T20:51:14.000Z | 2022-03-14T13:30:12.000Z | lib/index.js | redblow/wyvern-js | 89a0fb779b29c139f2d85dfa9c0b625cb23ead44 | [
"MIT"
] | 3 | 2022-01-07T00:39:42.000Z | 2022-01-24T02:24:20.000Z | lib/index.js | redblow/wyvern-js | 89a0fb779b29c139f2d85dfa9c0b625cb23ead44 | [
"MIT"
] | 38 | 2018-10-31T05:52:40.000Z | 2022-03-31T01:02:20.000Z | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var wyvernProtocol_1 = require("./wyvernProtocol");
exports.WyvernProtocol = wyvernProtocol_1.WyvernProtocol;
//# sourceMappingURL=index.js.map | 44 | 62 | 0.781818 |
bb324f096254716bb5ea0c59976c261cbc078b1e | 4,148 | html | HTML | pa1-skeleton/pa1-data/9/www.stanford.edu_group_cpn_about_maps.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/9/www.stanford.edu_group_cpn_about_maps.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/9/www.stanford.edu_group_cpn_about_maps.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | stanford university center for probing the nanoscale about cpn maps and directions home about cpn research education contact us related links about cpn center overview mission statement and goals membership guidelines industrial affiliates program administration structure news and events nuggets and highlights maps and... | 2,074 | 4,147 | 0.829074 |
0c8b19dac043c6f1fd044d080e97281c266335ea | 557 | py | Python | src/tests/t_kadm5_hook.py | tizenorg/platform.upstream.krb5 | a98efd0c8f97aba9d71c2130c048f1adc242772e | [
"MIT"
] | 372 | 2016-10-28T10:50:35.000Z | 2022-03-18T19:54:37.000Z | src/tests/t_kadm5_hook.py | tizenorg/platform.upstream.krb5 | a98efd0c8f97aba9d71c2130c048f1adc242772e | [
"MIT"
] | 317 | 2016-11-02T17:41:48.000Z | 2021-11-08T20:28:19.000Z | src/tests/t_kadm5_hook.py | tizenorg/platform.upstream.krb5 | a98efd0c8f97aba9d71c2130c048f1adc242772e | [
"MIT"
] | 107 | 2016-11-03T19:25:16.000Z | 2022-03-20T21:15:22.000Z | #!/usr/bin/python
from k5test import *
plugin = os.path.join(buildtop, "plugins", "kadm5_hook", "test",
"kadm5_hook_test.so")
hook_krb5_conf = {
'all' : {
"plugins" : {
"kadm5_hook" : {
"module" : "test:" + plugin
}
}
}
}
realm = K... | 24.217391 | 79 | 0.59246 |
e75de6a42bbced3800f1bf1a0a659c06bb985d14 | 9,567 | js | JavaScript | sites/mip.1hai.cn/common/util.js | roccoliu/mip2-extensions-platform | 78d025440ba105f3572992f69af1ed205b3c6eb8 | [
"MIT"
] | null | null | null | sites/mip.1hai.cn/common/util.js | roccoliu/mip2-extensions-platform | 78d025440ba105f3572992f69af1ed205b3c6eb8 | [
"MIT"
] | null | null | null | sites/mip.1hai.cn/common/util.js | roccoliu/mip2-extensions-platform | 78d025440ba105f3572992f69af1ed205b3c6eb8 | [
"MIT"
] | null | null | null | import { CryptoJS } from './crypto.min.js'
let key = CryptoJS.enc.Utf8.parse('th!s!s@p@ssw0rd;setoae$12138!@$@') // 十六位十六进制数作为密钥
let iv = CryptoJS.enc.Utf8.parse('-o@g*m,%0!si^fo1') // 十六位十六进制数作为密钥偏移量
export default {
// MD5 加密
md5 (str) {
return CryptoJS.MD5(str).toString()
},
// AES 加密方法
encrypt (wor... | 21.21286 | 101 | 0.534755 |
865dcbde8a393be9e8b4bac44c890e11b6e6a208 | 2,474 | rs | Rust | gdk4/src/auto/content_serializer.rs | pbor/gtk4-rs | 1c8ca479841a6af608026f95be5e28a426b35732 | [
"MIT-0",
"MIT"
] | null | null | null | gdk4/src/auto/content_serializer.rs | pbor/gtk4-rs | 1c8ca479841a6af608026f95be5e28a426b35732 | [
"MIT-0",
"MIT"
] | null | null | null | gdk4/src/auto/content_serializer.rs | pbor/gtk4-rs | 1c8ca479841a6af608026f95be5e28a426b35732 | [
"MIT-0",
"MIT"
] | null | null | null | // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files.git)
// DO NOT EDIT
use glib::translate::*;
use std::fmt;
glib::wrapper! {
pub struct ContentSerializer(Object<ffi::GdkContentSerializer>);
match fn {
get_type => || ffi::gdk_conte... | 30.170732 | 95 | 0.624091 |
39ba9f4a246ade90a89457335ace9c008b986594 | 336 | js | JavaScript | docs/cpp_man/html/search/variables_a.js | mllg/compboost | f493bb92050e27256f7937c82af6fa65e71abe67 | [
"MIT"
] | null | null | null | docs/cpp_man/html/search/variables_a.js | mllg/compboost | f493bb92050e27256f7937c82af6fa65e71abe67 | [
"MIT"
] | null | null | null | docs/cpp_man/html/search/variables_a.js | mllg/compboost | f493bb92050e27256f7937c82af6fa65e71abe67 | [
"MIT"
] | null | null | null | var searchData=
[
['n_5fknots',['n_knots',['../classblearner_1_1_baselearner_p_spline.html#a0ddb0d169df2cae3a22e7d0bcfd2031f',1,'blearner::BaselearnerPSpline::n_knots()'],['../classblearnerfactory_1_1_baselearner_p_spline_factory.html#a11e98fcad44d686df7be69d3176480f9',1,'blearnerfactory::BaselearnerPSplineFactory::n... | 67.2 | 314 | 0.821429 |
d0ebcb7e7e5c365961483600d2154f4a59af7445 | 528 | css | CSS | css/tennis-ball.css | Viglino/iconnicss | cc54b26dcdf70460fe9d2802360852ca8be4ca88 | [
"MIT"
] | 110 | 2018-01-07T08:55:27.000Z | 2022-02-09T08:32:42.000Z | css/tennis-ball.css | Viglino/iconnicss | cc54b26dcdf70460fe9d2802360852ca8be4ca88 | [
"MIT"
] | 12 | 2018-06-15T08:09:45.000Z | 2021-02-09T17:25:28.000Z | css/tennis-ball.css | Viglino/iconnicss | cc54b26dcdf70460fe9d2802360852ca8be4ca88 | [
"MIT"
] | 21 | 2018-05-01T07:33:58.000Z | 2022-03-22T23:07:20.000Z | i.icss-tennis-ball {
width: .8em;
height: .8em;
border-radius: 50%;
background-color: transparent;
box-shadow: inset 0 0 0 .07em;
margin: .1em;
overflow: hidden;
}
i.icss-tennis-ball:before {
width: .8em;
height: .8em;
border-radius: 50%;
box-shadow: inset 0 0 0 ... | 20.307692 | 35 | 0.543561 |