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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23643042cfe0f0c7b6d3a886c8fe753713c470a6 | 6,398 | rs | Rust | day04/src/lib.rs | vescoc/AdventOfCode2020 | 7999970344a2612f3fffeb039c22d50aa52b0e76 | [
"MIT"
] | 4 | 2021-12-05T20:20:07.000Z | 2021-12-17T23:07:42.000Z | day04/src/lib.rs | vescoc/AdventOfCode2020 | 7999970344a2612f3fffeb039c22d50aa52b0e76 | [
"MIT"
] | null | null | null | day04/src/lib.rs | vescoc/AdventOfCode2020 | 7999970344a2612f3fffeb039c22d50aa52b0e76 | [
"MIT"
] | null | null | null | #![feature(test)]
extern crate test;
#[macro_use]
extern crate lazy_static;
use regex::Regex;
use std::collections::HashSet;
lazy_static! {
static ref INPUT: Vec<&'static str> = include_str!("../input").split("\n\n").collect();
static ref BYR_RE: Regex = Regex::new(r"^(\d{4})$").unwrap();
static ref IYR_... | 27.34188 | 99 | 0.450922 |
65cd72e63cc37c00c58c9249577574495ad5ab7c | 2,367 | rs | Rust | examples/gpio_generic.rs | c-rustacean/lpc8xx-hal | cee8a0047ff38ec909c87b30b7435a225e3a29a1 | [
"0BSD"
] | 15 | 2019-06-10T14:13:41.000Z | 2022-01-31T10:11:31.000Z | examples/gpio_generic.rs | c-rustacean/lpc8xx-hal | cee8a0047ff38ec909c87b30b7435a225e3a29a1 | [
"0BSD"
] | 135 | 2019-03-29T16:48:02.000Z | 2022-01-15T18:56:06.000Z | examples/gpio_generic.rs | c-rustacean/lpc8xx-hal | cee8a0047ff38ec909c87b30b7435a225e3a29a1 | [
"0BSD"
] | 5 | 2019-07-01T19:01:54.000Z | 2021-01-16T10:05:28.000Z | #![no_main]
#![no_std]
extern crate panic_rtt_target;
use lpc8xx_hal::{
cortex_m_rt::entry,
delay::Delay,
gpio::{direction::Dynamic, GpioPin, Level},
pins::{DynamicPinDirection, GenericPin},
prelude::*,
CorePeripherals, Peripherals,
};
#[entry]
fn main() -> ! {
rtt_target::rtt_init_print!... | 31.986486 | 92 | 0.621039 |
9bda2cb01e6f0acac8df53a761c446910d507251 | 3,561 | js | JavaScript | app.js | ubern00bie/Team-Builder | bb9f78827408924f3163ecd312e3bec5ff4dea7b | [
"Unlicense"
] | null | null | null | app.js | ubern00bie/Team-Builder | bb9f78827408924f3163ecd312e3bec5ff4dea7b | [
"Unlicense"
] | null | null | null | app.js | ubern00bie/Team-Builder | bb9f78827408924f3163ecd312e3bec5ff4dea7b | [
"Unlicense"
] | null | null | null | const inquirer = require("inquirer");
const fs = require("fs");
const path = require("path");
const Manager = require("./lib/Manager");
const Engineer = require("./lib/Engineer");
const Intern = require("./lib/Intern");
const { type } = require("os");
// const Employee = require("./lib/Employee");
const OUTPUT_DIR = p... | 28.95122 | 142 | 0.495647 |
b2c0fe0d284c1df72e6a811ac09a5b401ed7fb9b | 509 | py | Python | tests/schema_mapping/expected/generated_example3.py | loyada/typed-py | 8f946ed0cddb38bf7fd463a4c8111a592ccae31a | [
"MIT"
] | 14 | 2018-02-14T13:28:47.000Z | 2022-02-12T08:03:21.000Z | tests/schema_mapping/expected/generated_example3.py | loyada/typed-py | 8f946ed0cddb38bf7fd463a4c8111a592ccae31a | [
"MIT"
] | 142 | 2017-11-22T14:02:33.000Z | 2022-03-23T21:26:29.000Z | tests/schema_mapping/expected/generated_example3.py | loyada/typed-py | 8f946ed0cddb38bf7fd463a4c8111a592ccae31a | [
"MIT"
] | 4 | 2017-12-14T16:46:45.000Z | 2021-12-15T16:33:31.000Z | from typedpy import *
class Person(Structure):
first_name = String()
last_name = String()
age = Integer(minimum=1)
_required = ['first_name', 'last_name']
class Groups(Structure):
groups = Array(items=Person)
_required = ['groups']
# ********************
class Example1(Structure):
p... | 17.551724 | 47 | 0.581532 |
83eba35beb82cd28e9e1752e536b1d9e6b689fd9 | 1,212 | lua | Lua | tidepool1.lua | sjtower/Super-Twiggle-World | 79d7e601dfa87df20bef34173b1b08c0073678a1 | [
"Apache-2.0"
] | null | null | null | tidepool1.lua | sjtower/Super-Twiggle-World | 79d7e601dfa87df20bef34173b1b08c0073678a1 | [
"Apache-2.0"
] | null | null | null | tidepool1.lua | sjtower/Super-Twiggle-World | 79d7e601dfa87df20bef34173b1b08c0073678a1 | [
"Apache-2.0"
] | null | null | null | local checkpoints = require("Checkpoints/checkpoints")
local tidepool1 = {
identifier = "tidepool1",
title = "Tidepool 1: Octolus Rift",
theme = THEME.TIDE_POOL,
width = 4,
height = 4,
file_name = "tide-1.lvl",
world = 4,
level = 1,
}
local level_state = {
loaded = false,
callb... | 23.764706 | 102 | 0.685644 |
86e7c3b92a87fb47f458240d315df54da606de02 | 119 | rs | Rust | src/lib/executor/mod.rs | myyrakle/rrdb | ccc0ee95732bdf100f1c3d6f0a69a20a2cb845fe | [
"MIT"
] | null | null | null | src/lib/executor/mod.rs | myyrakle/rrdb | ccc0ee95732bdf100f1c3d6f0a69a20a2cb845fe | [
"MIT"
] | null | null | null | src/lib/executor/mod.rs | myyrakle/rrdb | ccc0ee95732bdf100f1c3d6f0a69a20a2cb845fe | [
"MIT"
] | null | null | null | pub mod executor;
pub use executor::*;
pub mod config;
pub use config::*;
pub mod implements;
pub use implements::*;
| 13.222222 | 22 | 0.705882 |
7f2bc3700b5322df21604116597712c8c7f0d092 | 771 | go | Go | controller/charts/getpnl.go | zhs007/tradingwebserv | f27ba9eae03965df995eb73f60960f8f4732127b | [
"Apache-2.0"
] | null | null | null | controller/charts/getpnl.go | zhs007/tradingwebserv | f27ba9eae03965df995eb73f60960f8f4732127b | [
"Apache-2.0"
] | null | null | null | controller/charts/getpnl.go | zhs007/tradingwebserv | f27ba9eae03965df995eb73f60960f8f4732127b | [
"Apache-2.0"
] | null | null | null | package charts
import (
"net/http"
"time"
"github.com/gin-gonic/gin"
"github.com/zhs007/tradingwebserv/model/trading"
)
// GetPNL -
func GetPNL() gin.HandlerFunc {
return func(c *gin.Context) {
name := c.Request.FormValue("name")
timezone := c.Request.FormValue("timezone")
loc, err := time.LoadLocation(t... | 19.275 | 84 | 0.656291 |
6e20a5c637f539e60084ff35a4f07769ebdde64f | 12,838 | xhtml | HTML | src/epub/text/chapter-2-14.xhtml | standardebooks/benjamin-disraeli_sybil | abbe306fd6cda07f6ed591e571d523c0079f551e | [
"CC0-1.0"
] | null | null | null | src/epub/text/chapter-2-14.xhtml | standardebooks/benjamin-disraeli_sybil | abbe306fd6cda07f6ed591e571d523c0079f551e | [
"CC0-1.0"
] | 1 | 2018-12-10T21:42:43.000Z | 2018-12-10T21:42:43.000Z | src/epub/text/chapter-2-14.xhtml | standardebooks/benjamin-disraeli_sybil | abbe306fd6cda07f6ed591e571d523c0079f551e | [
"CC0-1.0"
] | 1 | 2021-02-05T05:51:28.000Z | 2021-02-05T05:51:28.000Z | <?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="z3998: http://www.daisy.org/z3998/2012/vocab/structure/, se: https://standardebooks.org/vocab/1.0" xml:lang="en-GB">
<head>
<title>XIV</title>
<link href="../css/core.css" rel="s... | 162.506329 | 985 | 0.72449 |
74458c253933e264df2976e54a884130e991c0a5 | 8,209 | h | C | aws-cpp-sdk-amplify/include/aws/amplify/model/CreateDeploymentResult.h | grujicbr/aws-sdk-cpp | bdd43c178042f09c6739645e3f6cd17822a7c35c | [
"Apache-2.0"
] | 1 | 2020-03-11T05:36:20.000Z | 2020-03-11T05:36:20.000Z | aws-cpp-sdk-amplify/include/aws/amplify/model/CreateDeploymentResult.h | novaquark/aws-sdk-cpp | a0969508545bec9ae2864c9e1e2bb9aff109f90c | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-amplify/include/aws/amplify/model/CreateDeploymentResult.h | novaquark/aws-sdk-cpp | a0969508545bec9ae2864c9e1e2bb9aff109f90c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 38.359813 | 170 | 0.678645 |
e8ed68a76b6810bfc7416102a15fd740faaea0ec | 4,699 | py | Python | program.py | jaesik817/programmable-agents_tensorflow | b64d1774803c585e87aa9769beadde31e18f8ea4 | [
"MIT"
] | 39 | 2017-09-25T02:01:18.000Z | 2019-06-18T15:17:53.000Z | program.py | jsikyoon/programmable-agents_tensorflow | b64d1774803c585e87aa9769beadde31e18f8ea4 | [
"MIT"
] | 5 | 2017-09-22T00:40:09.000Z | 2018-05-07T15:11:11.000Z | program.py | jsikyoon/programmable-agents_tensorflow | b64d1774803c585e87aa9769beadde31e18f8ea4 | [
"MIT"
] | 10 | 2017-09-25T06:49:12.000Z | 2019-06-18T10:17:03.000Z | import tensorflow as tf
import numpy as np
import math
# Parameter
order_num=2;
class Program:
def __init__(self,sess,state_dim,obj_num,fea_size,Theta,program_order,postfix):
self.sess = sess;
self.state_dim = state_dim;
self.fea_size=fea_size;
self.obj_num=obj_num;
self.order_num=order_num;
... | 53.397727 | 262 | 0.668227 |
9c425790b4e45ba7bd6bbea00feacbde8dc5585b | 1,569 | js | JavaScript | ProtoPixel/scripts/webapp/remote/libs/widgets/v2/toggle.js | ImanolGo/IngoLightAndBuilding | 23bfce0633ad056b2db5eb62822dc30c331ba800 | [
"MIT",
"Unlicense"
] | null | null | null | ProtoPixel/scripts/webapp/remote/libs/widgets/v2/toggle.js | ImanolGo/IngoLightAndBuilding | 23bfce0633ad056b2db5eb62822dc30c331ba800 | [
"MIT",
"Unlicense"
] | null | null | null | ProtoPixel/scripts/webapp/remote/libs/widgets/v2/toggle.js | ImanolGo/IngoLightAndBuilding | 23bfce0633ad056b2db5eb62822dc30c331ba800 | [
"MIT",
"Unlicense"
] | null | null | null | "use strict"
newImports("widgets/cssvars.js")
registerCustomElem("toggle", () => {
const elem = newElem("label")
setStyle(elem, {
position: "relative",
display: "inline-block",
width: "2em",
height: "1em",
cursor: "pointer",
})
const checkbox = append(elem, newINPUT("checkbox"))
checkbox.checked = tru... | 19.134146 | 69 | 0.635437 |
4a4efcdd7924a5c21c7e0f1e332ee155ca95b166 | 1,521 | js | JavaScript | frontend/src/components/thingInformation/Properties.test.js | cadivus/KIT-PSE_Sensordatenbankmanagementsystem | f493f14063142cdbb43d39a560fe353403808a79 | [
"MIT"
] | 1 | 2021-11-26T10:14:59.000Z | 2021-11-26T10:14:59.000Z | frontend/src/components/thingInformation/Properties.test.js | cadivus/KIT-PSE_Sensordatenbankmanagementsystem | f493f14063142cdbb43d39a560fe353403808a79 | [
"MIT"
] | null | null | null | frontend/src/components/thingInformation/Properties.test.js | cadivus/KIT-PSE_Sensordatenbankmanagementsystem | f493f14063142cdbb43d39a560fe353403808a79 | [
"MIT"
] | null | null | null | import React from 'react'
import {mount} from 'enzyme'
import {getJson, getText, postJsonGetText} from '../../store/communication/restClient'
import {
getJson as getJsonMock,
getText as getTextMock,
postJsonGetText as postJsonGetTextMock,
} from '../../../test/mock/store/communication/restClientMock'
import Prope... | 40.026316 | 96 | 0.737015 |
133c3f7ad60793003d0d04455f2d7c7a96eeb481 | 6,243 | h | C | io_engine/include/ps.h | kefanchen/rctcp | 806838cfc578678fc9eaf612f5dcf8df9f928984 | [
"BSD-3-Clause"
] | 1 | 2017-07-13T14:45:54.000Z | 2017-07-13T14:45:54.000Z | io_engine/include/ps.h | shakuniji/mtcp | a3c73c8be22f5be3833b947c0b8be8af98151cb5 | [
"BSD-3-Clause"
] | 1 | 2018-01-11T00:11:41.000Z | 2018-01-11T17:21:47.000Z | io_engine/include/ps.h | shakuniji/mtcp | a3c73c8be22f5be3833b947c0b8be8af98151cb5 | [
"BSD-3-Clause"
] | 2 | 2021-09-03T10:18:52.000Z | 2021-09-18T21:23:40.000Z | #ifndef _PS_H_
#define _PS_H_
#define MAX_DEVICES 16
#define MAX_RINGS 64
/* IN: option for ps_wait(); */
#define PS_CTL_IN 0x1 /* The associated queue is available to read */
#define PS_CTL_OUT 0x2 /* The associated queue is available to write */
/* The associated queue is available to write or read */
#define PS_... | 23.122222 | 85 | 0.700465 |
92a733618f388dcfcbb5f28fcdb4d07f61e49701 | 154 | sql | SQL | keyCars.sql | Amnesia80/esx_carkeys | 04b30dc60fc5b6e93bbaa4c981ec6b89cf9c7f9c | [
"Apache-2.0"
] | 1 | 2019-11-19T04:05:05.000Z | 2019-11-19T04:05:05.000Z | keyCars.sql | Amnesia80/esx_carkeys | 04b30dc60fc5b6e93bbaa4c981ec6b89cf9c7f9c | [
"Apache-2.0"
] | 1 | 2019-12-13T21:54:38.000Z | 2019-12-13T21:54:38.000Z | keyCars.sql | Amnesia80/esx_carkeys | 04b30dc60fc5b6e93bbaa4c981ec6b89cf9c7f9c | [
"Apache-2.0"
] | null | null | null | CREATE TABLE `owned_keys` (
`id` int NOT NULL AUTO_INCREMENT,
`plate` VARCHAR(50) NOT NULL,
`owner` VARCHAR(22) NOT NULL,
PRIMARY KEY (`id`)
); | 22 | 35 | 0.655844 |
b4a94db46489d9e02fd3d3d9b0c66164ac17e938 | 933 | lua | Lua | prototypes/item.lua | Baedel/Quarry-fix | 782600f8eaeed4afb20700f85734133d719598a1 | [
"MIT"
] | null | null | null | prototypes/item.lua | Baedel/Quarry-fix | 782600f8eaeed4afb20700f85734133d719598a1 | [
"MIT"
] | null | null | null | prototypes/item.lua | Baedel/Quarry-fix | 782600f8eaeed4afb20700f85734133d719598a1 | [
"MIT"
] | null | null | null | data:extend({
{
type = "item",
name = "quarry",
icon = "__Quarry-fix__/graphics/quarry/quarry-icon.png",
icon_size = 32,
flags = {"goes-to-quickbar"},
subgroup = "extraction-machine",
order = "a[items]-m[quarry]",
place_result = "quarry",
stack_size = 20
},
{
t... | 26.657143 | 65 | 0.566988 |
46b978207334e620243aa38c30bb3cc21ee07b35 | 4,672 | css | CSS | style.css | easthermutheumwengei/Anitas-Kitchen | a0722b0e17bf65d754140ad780398f72f39a9edb | [
"MIT"
] | null | null | null | style.css | easthermutheumwengei/Anitas-Kitchen | a0722b0e17bf65d754140ad780398f72f39a9edb | [
"MIT"
] | null | null | null | style.css | easthermutheumwengei/Anitas-Kitchen | a0722b0e17bf65d754140ad780398f72f39a9edb | [
"MIT"
] | null | null | null | *body{
margin: 2%,2%,0,2%;
padding: 0;
box-sizing: border-box;
}
.container{
background-image: url("./assets-20210424T204913Z-001/assets/backgrounds/landing.jpg");
height: 900px;
}
.logo{
text-align: center;
}
.text{
text-align: center;
color: white;
}
.list2{
display: flex;
heig... | 18.83871 | 94 | 0.622432 |
be3ed71979521413c5cf68717a2006a9c81f7a82 | 3,573 | rs | Rust | bc/mav/src/kits.rs | scryinfo/cashbox | 667b89c4b3107b9229c3758bf9f8266316dac08f | [
"Apache-2.0"
] | 51 | 2020-06-29T02:03:29.000Z | 2021-05-24T08:14:07.000Z | bc/mav/src/kits.rs | scryinfo/cashbox | 667b89c4b3107b9229c3758bf9f8266316dac08f | [
"Apache-2.0"
] | 48 | 2020-07-06T08:04:46.000Z | 2021-07-17T07:22:31.000Z | bc/mav/src/kits.rs | scryinfo/cashbox | 667b89c4b3107b9229c3758bf9f8266316dac08f | [
"Apache-2.0"
] | 8 | 2020-08-05T09:40:46.000Z | 2021-11-26T12:45:46.000Z | use std::{fmt, fs, io, path};
use std::ops::Add;
use rbatis::rbatis::{Rbatis, RbatisOption};
use uuid::Uuid;
use rbatis::plugin::log::{RbatisLogPlugin, LogPlugin};
use std::sync::Arc;
#[derive(Debug, PartialEq, Clone, Default)]
pub struct Error {
pub err: String,
}
impl fmt::Display for Error {
fn fmt(&self... | 26.664179 | 82 | 0.541562 |
a1b52b1a682458680ea0bbdbb56cb6179097bd3c | 121 | h | C | FirstInterCommunication/src/TextureAttribute.h | droplet92/FIC | db8bcc2503f7001dc6af5474b59ef9129f995f91 | [
"MIT"
] | null | null | null | FirstInterCommunication/src/TextureAttribute.h | droplet92/FIC | db8bcc2503f7001dc6af5474b59ef9129f995f91 | [
"MIT"
] | null | null | null | FirstInterCommunication/src/TextureAttribute.h | droplet92/FIC | db8bcc2503f7001dc6af5474b59ef9129f995f91 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
namespace Texture
{
struct TextureAttribute
{
int id;
std::string pathname;
};
} | 11 | 24 | 0.68595 |
9eac6ec6b584b87dd0e5f46abbe4c51e8c6c88c0 | 356 | sql | SQL | sql/src/test/resources/insert_jobinput.sql | ykyang/org.allnix.java | a21a611ac785d714cf3f794ed8a5addaf62637e7 | [
"Apache-2.0"
] | null | null | null | sql/src/test/resources/insert_jobinput.sql | ykyang/org.allnix.java | a21a611ac785d714cf3f794ed8a5addaf62637e7 | [
"Apache-2.0"
] | null | null | null | sql/src/test/resources/insert_jobinput.sql | ykyang/org.allnix.java | a21a611ac785d714cf3f794ed8a5addaf62637e7 | [
"Apache-2.0"
] | null | null | null | INSERT OR IGNORE INTO JOBINPUT VALUES ('e5a482e5-ceed-4cdb-b82f-4dcdfc7757cb', '{"method":"simulate"}');
INSERT OR IGNORE INTO JOBINPUT VALUES ('a5b5a598-97fe-45c6-af65-59f09aee24a7', '{"method":"run"}');
INSERT OR IGNORE INTO JOBINPUT VALUES ('a', '{"id":"a", "method":"run"}');
INSERT OR IGNORE INTO JOBINPUT VALUES ('... | 59.333333 | 104 | 0.676966 |
befb536317d51c660b53b573c5bc7be23164f37d | 987 | html | HTML | manuscript/page-164/body.html | marvindanig/Sense-and-Sensibility | 9ca3dbab123fde9ec42221daf9fc53446efac69f | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-164/body.html | marvindanig/Sense-and-Sensibility | 9ca3dbab123fde9ec42221daf9fc53446efac69f | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-164/body.html | marvindanig/Sense-and-Sensibility | 9ca3dbab123fde9ec42221daf9fc53446efac69f | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | <div class="leaf "><div class="inner justify"><p class="no-indent ">hope you like your house, Miss Marianne. It is a very large one, I know; and when I come to see you, I hope you will have new-furnished it, for it wanted it very much when I was there six years ago."</p><p>Marianne turned away in great confusion. Mrs.... | 987 | 987 | 0.763931 |
2f6f8fd432c77d594a6798630e70b3e80e9bc45e | 336 | sql | SQL | server/midlib/SessionRedis/test_ip_ban.sql | pschlump/Go-FTL | 21aa93798aa0fcfd75068cf584a5fe612a494273 | [
"MIT"
] | 6 | 2016-06-29T05:38:43.000Z | 2019-07-29T03:59:18.000Z | server/midlib/SessionRedis/test_ip_ban.sql | pschlump/Go-FTL | 21aa93798aa0fcfd75068cf584a5fe612a494273 | [
"MIT"
] | null | null | null | server/midlib/SessionRedis/test_ip_ban.sql | pschlump/Go-FTL | 21aa93798aa0fcfd75068cf584a5fe612a494273 | [
"MIT"
] | null | null | null |
-- CREATE or REPLACE FUNCTION s_ip_ban(p_ip_addr varchar)
-- select 'success-019' from dual where exists ( select 'ok' from "t_config" where "customer_id" = '1' and "item_name" = '2fa.required' );
select 'success-100' from dual where s_ip_ban ( '1.1.1.1' ) = false;
select 'success-101' from dual where s_ip_ban ( '1.1... | 48 | 138 | 0.693452 |
b77999b3c67eef625e08322a3ff5c8019513c95a | 859 | swift | Swift | Manoj-MVVM-Demo/Network/MovieAPIService.swift | manojgadamsetty/Sample_MVVM | 0e5dfb101e282aeb6680435953a8b3a750cc735c | [
"MIT"
] | null | null | null | Manoj-MVVM-Demo/Network/MovieAPIService.swift | manojgadamsetty/Sample_MVVM | 0e5dfb101e282aeb6680435953a8b3a750cc735c | [
"MIT"
] | null | null | null | Manoj-MVVM-Demo/Network/MovieAPIService.swift | manojgadamsetty/Sample_MVVM | 0e5dfb101e282aeb6680435953a8b3a750cc735c | [
"MIT"
] | null | null | null | //
// MovieAPIService.swift
// Manoj-MVVM-Demo
//
// Created by Manoj Gadamsetty on 03/08/20.
// Copyright © 2020 Manoj Gadamsetty. All rights reserved.
//
import UIKit
class MovieAPIService: NSObject, Requestable {
static let instance = MovieAPIService()
public var movies: [Movie]?
// Prepare the s... | 27.709677 | 87 | 0.647264 |
7122fee7a4f1463091408a338473f82b6ddd896a | 838 | ts | TypeScript | src/state/actionCreators/index.ts | UnumID/acme-demo-client | e9ff656b8aaee2ba33eaefc885c43103acdd4a90 | [
"MIT"
] | null | null | null | src/state/actionCreators/index.ts | UnumID/acme-demo-client | e9ff656b8aaee2ba33eaefc885c43103acdd4a90 | [
"MIT"
] | null | null | null | src/state/actionCreators/index.ts | UnumID/acme-demo-client | e9ff656b8aaee2ba33eaefc885c43103acdd4a90 | [
"MIT"
] | null | null | null | import { Dispatch } from 'redux';
import { resetSessionState } from './session';
import { resetPresentationState } from './presentation';
import { resetPresentationRequestState } from './presentationRequest';
import { resetUserState } from './user';
import { logout } from './auth';
export * from './session';
export *... | 31.037037 | 78 | 0.711217 |
ab112e972619dfbba243ddb2a7dbed7658d3c4c4 | 6,685 | sql | SQL | database/blog.sql | Sahsanem/Java-MySql-Servlet-Web-Application-Blog-Project | 87b9ac63c3afaa1d3df70ad1637d429a3b80205c | [
"MIT"
] | 1 | 2021-10-08T12:14:20.000Z | 2021-10-08T12:14:20.000Z | database/blog.sql | Sahsanem/Java-MySql-Servlet-Web-Application-Blog-Project | 87b9ac63c3afaa1d3df70ad1637d429a3b80205c | [
"MIT"
] | null | null | null | database/blog.sql | Sahsanem/Java-MySql-Servlet-Web-Application-Blog-Project | 87b9ac63c3afaa1d3df70ad1637d429a3b80205c | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Anamakine: 127.0.0.1
-- Üretim Zamanı: 13 Ağu 2021, 08:19:55
-- Sunucu sürümü: 10.4.20-MariaDB
-- PHP Sürümü: 7.3.29
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT... | 47.411348 | 1,754 | 0.734031 |
0891084281d302e177c3d5873697946dceff8906 | 5,191 | go | Go | jlo.go | dcmn-com/jlo | 236f79ebf98cecdb4f5b2820a6dd762ef019e77a | [
"MIT"
] | 2 | 2021-04-26T14:00:47.000Z | 2021-09-26T17:51:50.000Z | jlo.go | dcmn-com/jlo | 236f79ebf98cecdb4f5b2820a6dd762ef019e77a | [
"MIT"
] | null | null | null | jlo.go | dcmn-com/jlo | 236f79ebf98cecdb4f5b2820a6dd762ef019e77a | [
"MIT"
] | 1 | 2021-09-26T18:06:43.000Z | 2021-09-26T18:06:43.000Z | // Light-weight json logging
package jlo
import (
"fmt"
"io"
"os"
"sync"
"time"
easyjson "github.com/mailru/easyjson"
)
//go:generate easyjson -no_std_marshalers $GOFILE
const (
// FieldKeyLevel is the log level log field name
FieldKeyLevel = "@level"
// FieldKeyMsg is the log message log field name
Field... | 22.969027 | 94 | 0.698324 |
3d5b3f5e352466204937b904959acd946003d8d1 | 2,171 | rs | Rust | src/time.rs | isaec/greeter | fb3bb9f29dc65fde55034c06982fe314ae9bce49 | [
"MIT"
] | null | null | null | src/time.rs | isaec/greeter | fb3bb9f29dc65fde55034c06982fe314ae9bce49 | [
"MIT"
] | null | null | null | src/time.rs | isaec/greeter | fb3bb9f29dc65fde55034c06982fe314ae9bce49 | [
"MIT"
] | null | null | null | use std::fmt;
use std::fs;
use chrono::prelude::Local;
struct Time<'a> {
label: &'a str,
value: u64,
}
impl Time<'_> {
fn new(label: &str, value: f64) -> Time {
Time {
label,
value: value as u64,
}
}
}
impl fmt::Display for Time<'_> {
fn fmt(&self, f: &mut... | 24.954023 | 62 | 0.387379 |
a1a9de322f87fe860b4aa3b74a4b78f30d015ae8 | 255 | h | C | XQPageControllerDemo/TableCellFooterMoreController.h | west-east/XQPageController | 7e9d5d0f89cd54bcce8d79f63f56ea4d2bab863c | [
"MIT"
] | 322 | 2017-07-22T16:39:54.000Z | 2019-11-15T08:08:48.000Z | XQPageControllerDemo/TableCellFooterMoreController.h | ticsmatic/XQPageController | 7e9d5d0f89cd54bcce8d79f63f56ea4d2bab863c | [
"MIT"
] | 4 | 2017-10-25T06:57:01.000Z | 2019-07-16T03:21:41.000Z | XQPageControllerDemo/TableCellFooterMoreController.h | ticsmatic/XQPageController | 7e9d5d0f89cd54bcce8d79f63f56ea4d2bab863c | [
"MIT"
] | 21 | 2017-07-25T04:56:07.000Z | 2019-09-05T05:45:38.000Z | //
// TableCellFooterMoreController.h
// XQPageControllerDemo
//
// Created by Ticsmatic on 2017/7/21.
// Copyright © 2017年 Ticsmatic. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TableCellFooterMoreController : UIViewController
@end
| 18.214286 | 59 | 0.74902 |
bf3736c5e3ad05882e7cf298fa785abbf6646312 | 1,024 | sql | SQL | public/dump/websites.sql | daotientu-devops/php_laravel_qc | 2d1d406209db16f3165fa99cc0d52bd72ba1f990 | [
"MIT"
] | null | null | null | public/dump/websites.sql | daotientu-devops/php_laravel_qc | 2d1d406209db16f3165fa99cc0d52bd72ba1f990 | [
"MIT"
] | null | null | null | public/dump/websites.sql | daotientu-devops/php_laravel_qc | 2d1d406209db16f3165fa99cc0d52bd72ba1f990 | [
"MIT"
] | 1 | 2021-08-12T22:49:44.000Z | 2021-08-12T22:49:44.000Z | 3 4 Sức khỏe cộng đồng Công ty Cổ phần iNews 247 quận Cầu Giấy, Hà Nội info@tintuc.vn http://skcd.com.vn/ 52 247 0 97271 28033 0 94 2015-05-13 13:44:32 2015-05-13 06:44:32 0 5 _ 1
4 5 Tin tức Việt Nam Công ty Cổ phần iNews 247 quận Cầu Giấy, Hà Nội info@tintuc.vn http://tintuc.vn/ 52 247 0 2606... | 170.666667 | 242 | 0.668945 |
475fbe68192e4e528b6d4a5301e317bdd8644bb0 | 53 | html | HTML | docs/googlea211139c43d4edca.html | estefan3112/docs | 5418e5a5ec24b3c4d6035d5bdcb33d29610a750d | [
"MIT"
] | 190 | 2017-02-26T17:35:45.000Z | 2022-03-25T20:00:27.000Z | docs/googlea211139c43d4edca.html | Seanpm2001-gaming/docs | d7f80249167bb92815af44082353c22bd03bc8d0 | [
"MIT"
] | 254 | 2017-04-30T12:08:01.000Z | 2022-03-19T19:16:36.000Z | docs/googlea211139c43d4edca.html | Seanpm2001-gaming/docs | d7f80249167bb92815af44082353c22bd03bc8d0 | [
"MIT"
] | 321 | 2017-01-02T20:27:57.000Z | 2022-03-31T22:47:42.000Z | google-site-verification: googlea211139c43d4edca.html | 53 | 53 | 0.90566 |
7fb37b01b2053bd54ab4de63a5f6ed7ce8b41940 | 15,849 | go | Go | cmd/vic-machine/converter/converter.go | mhazankin/vic | c7036a165aaa90cec10c290b95a40e9e74a3e46b | [
"Apache-2.0"
] | 678 | 2016-04-04T19:47:24.000Z | 2022-02-28T21:13:12.000Z | cmd/vic-machine/converter/converter.go | mhazankin/vic | c7036a165aaa90cec10c290b95a40e9e74a3e46b | [
"Apache-2.0"
] | 7,047 | 2016-04-04T20:08:35.000Z | 2022-03-09T02:33:36.000Z | cmd/vic-machine/converter/converter.go | mhazankin/vic | c7036a165aaa90cec10c290b95a40e9e74a3e46b | [
"Apache-2.0"
] | 239 | 2016-04-04T20:01:50.000Z | 2022-01-17T13:05:58.000Z | // Copyright 2017 VMware, Inc. 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 the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 27.467938 | 144 | 0.687867 |
6010e00447c1e7dfa71d8dd1cf2bc99737199031 | 836 | kt | Kotlin | app/src/main/java/net/pfiers/osmfocus/viewmodel/support/events.kt | yuhuitech/osmfocus | 5e1050578690d1267493720506b44528204b9154 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/net/pfiers/osmfocus/viewmodel/support/events.kt | yuhuitech/osmfocus | 5e1050578690d1267493720506b44528204b9154 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/net/pfiers/osmfocus/viewmodel/support/events.kt | yuhuitech/osmfocus | 5e1050578690d1267493720506b44528204b9154 | [
"Apache-2.0"
] | null | null | null | package net.pfiers.osmfocus.viewmodel.support
import android.net.Uri
import kotlinx.coroutines.channels.Channel
import net.pfiers.osmfocus.service.osm.OsmElement
abstract class Event
class CancelEvent : Event()
class OpenUriEvent(val uri: Uri) : Event()
class CopyEvent(val label: String, val text: String) : Event()
c... | 32.153846 | 64 | 0.772727 |
3d5e7dd0af1213b009b6f61d88f573916cfc40ef | 22,135 | rs | Rust | src/librustc/dep_graph/dep_node.rs | MOZGIII/rust | e3976fff44e6ce14c2f92252e6a807800b9aa7c0 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 15 | 2015-12-17T18:20:31.000Z | 2019-12-10T20:07:24.000Z | src/librustc/dep_graph/dep_node.rs | netcazean/rust | a24f636e60a5da57ab641d800ac5952bbde98b65 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 8 | 2017-03-16T17:51:46.000Z | 2017-07-18T01:47:29.000Z | src/librustc/dep_graph/dep_node.rs | netcazean/rust | a24f636e60a5da57ab641d800ac5952bbde98b65 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 10 | 2016-12-13T07:07:21.000Z | 2022-03-20T06:08:58.000Z | //! This module defines the `DepNode` type which the compiler uses to represent
//! nodes in the dependency graph. A `DepNode` consists of a `DepKind` (which
//! specifies the kind of thing it represents, like a piece of HIR, MIR, etc)
//! and a `Fingerprint`, a 128 bit hash value the exact meaning of which
//! depends... | 36.286885 | 93 | 0.525909 |
70a32ba627c5dc119db6d6141b573c41e452b763 | 30 | c | C | src/xer_decoder.c | rjenkins/c-RIBBIT | 8dff78e1fe183d8e87974667cdca38420f6c46d3 | [
"MIT"
] | null | null | null | src/xer_decoder.c | rjenkins/c-RIBBIT | 8dff78e1fe183d8e87974667cdca38420f6c46d3 | [
"MIT"
] | 1 | 2016-03-13T18:39:54.000Z | 2016-03-14T16:58:41.000Z | src/xer_decoder.c | rjenkins/c-RIBBIT | 8dff78e1fe183d8e87974667cdca38420f6c46d3 | [
"MIT"
] | 2 | 2016-03-13T18:31:11.000Z | 2018-02-01T03:11:03.000Z | /usr/share/asn1c/xer_decoder.c | 30 | 30 | 0.833333 |
6d3218e802dcc9ff99fe197df87f7e7247e6029e | 750 | swift | Swift | NotCompiling/Enums/Generated/Strings.swift | Sajjon/SwiftGen3Error | c794f67beea8daac36e17fadc0178739133d340e | [
"Apache-2.0"
] | null | null | null | NotCompiling/Enums/Generated/Strings.swift | Sajjon/SwiftGen3Error | c794f67beea8daac36e17fadc0178739133d340e | [
"Apache-2.0"
] | null | null | null | NotCompiling/Enums/Generated/Strings.swift | Sajjon/SwiftGen3Error | c794f67beea8daac36e17fadc0178739133d340e | [
"Apache-2.0"
] | null | null | null | // Generated using SwiftGen, by O.Halligon — https://github.com/AliSoftware/SwiftGen
import Foundation
// swiftlint:disable file_length
// swiftlint:disable type_body_length
enum L10n {
/// Your name is %@
case yourname(String)
}
// swiftlint:enable type_body_length
extension L10n: CustomStringConvertible {
va... | 23.4375 | 84 | 0.692 |
0328862138c7f9eb2ebdb4ab6dfce32420240c3a | 3,705 | swift | Swift | PetIT/PetIT/Controllers/Map View Controllers/JobPostDetailViewController.swift | SLRAM/PetSittingApp | f1112171c12a832368cc8d6f48feadbf6029d7a3 | [
"MIT"
] | 4 | 2019-07-12T11:07:05.000Z | 2020-10-22T01:25:13.000Z | PetIT/PetIT/Controllers/Map View Controllers/JobPostDetailViewController.swift | JianTing-Li/PetSittingApp | f1112171c12a832368cc8d6f48feadbf6029d7a3 | [
"MIT"
] | null | null | null | PetIT/PetIT/Controllers/Map View Controllers/JobPostDetailViewController.swift | JianTing-Li/PetSittingApp | f1112171c12a832368cc8d6f48feadbf6029d7a3 | [
"MIT"
] | 2 | 2019-04-01T14:45:43.000Z | 2019-06-11T03:02:36.000Z | //
// PostingDetailViewController.swift
// PetIT
//
// Created by Stephanie Ramirez on 3/27/19.
// Copyright © 2019 Stephanie Ramirez. All rights reserved.
//
import UIKit
import Firebase
class JobPostDetailViewController: UIViewController {
@IBOutlet weak var petOwnerProfileImage: CircularImageView!
... | 34.95283 | 138 | 0.637247 |
71a43ad63a60f9e36b68816b10c0a673dfed804f | 1,413 | sql | SQL | db/inputs.sql | qb00091/appointments | a1cd07f8ffd5165a269674845d24a1ff5022d7db | [
"MIT"
] | null | null | null | db/inputs.sql | qb00091/appointments | a1cd07f8ffd5165a269674845d24a1ff5022d7db | [
"MIT"
] | null | null | null | db/inputs.sql | qb00091/appointments | a1cd07f8ffd5165a269674845d24a1ff5022d7db | [
"MIT"
] | null | null | null | /* password for all is: welcome */
INSERT INTO Users(email, name, hash, salt) VALUES
('mike@knights.ucf.edu', 'Michael S', 'pbkdf2:sha256:150000$PWArbloj$32eada7dc35d8c8aa5a0908c8ed50ab2b0e8261ca10432ae6389036b7f2d62af', 'mMvzfT1_s35JRa4qKMzXOtEjoxRD5I9HAYu7v2cHo6k'),
('ash@ucla.edu', 'Ash', 'pbkdf2:sha256:150000... | 56.52 | 186 | 0.757254 |
85830478d7a0b3578ac48d137263513396875023 | 579 | js | JavaScript | docs/node_modules/@vuepress/plugin-search/lib/client/clientAppEnhance.js | Rogerio-Viana/asdf | c12d463764675fdf955063ba6d455d698f37a310 | [
"MIT"
] | null | null | null | docs/node_modules/@vuepress/plugin-search/lib/client/clientAppEnhance.js | Rogerio-Viana/asdf | c12d463764675fdf955063ba6d455d698f37a310 | [
"MIT"
] | 1 | 2021-07-28T22:38:51.000Z | 2021-07-28T22:38:51.000Z | docs/node_modules/@vuepress/plugin-search/lib/client/clientAppEnhance.js | Rogerio-Viana/asdf | c12d463764675fdf955063ba6d455d698f37a310 | [
"MIT"
] | null | null | null | import { h } from 'vue';
import { defineClientAppEnhance } from '@vuepress/client';
import { SearchBox } from './components/SearchBox';
import './styles/vars.css';
import './styles/search.css';
const locales = __SEARCH_LOCALES__;
const hotKeys = __SEARCH_HOT_KEYS__;
const maxSuggestions = __SEARCH_MAX_SUGGESTIONS__;
ex... | 32.166667 | 61 | 0.678756 |
99269bee9dbe99682ea810d98f544d5b70f27947 | 399 | h | C | DetoxInstruments/DetoxInstruments/RemoteProfiling/_DTXActionButtonProvider.h | benlaverriere/DetoxInstruments | a9552432f1b613d703425fea1776f790e208d930 | [
"MIT"
] | null | null | null | DetoxInstruments/DetoxInstruments/RemoteProfiling/_DTXActionButtonProvider.h | benlaverriere/DetoxInstruments | a9552432f1b613d703425fea1776f790e208d930 | [
"MIT"
] | null | null | null | DetoxInstruments/DetoxInstruments/RemoteProfiling/_DTXActionButtonProvider.h | benlaverriere/DetoxInstruments | a9552432f1b613d703425fea1776f790e208d930 | [
"MIT"
] | null | null | null | //
// _DTXActionButtonProvider.h
// DetoxInstruments
//
// Created by Leo Natan (Wix) on 4/8/18.
// Copyright © 2017-2020 Wix. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol _DTXActionButtonProvider <NSObject>
@property (nonatomic, copy, readonly) NSArray<NSButton*>* actionButtons;
@optiona... | 21 | 72 | 0.736842 |
d5e8f366da5f9fb0c1afecd8ce51d2d0a3cdadb6 | 360 | h | C | d/shadow/ratpaths/common.h | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/shadow/ratpaths/common.h | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/shadow/ratpaths/common.h | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | #define RATPATHS "/d/shadow/ratpaths/inherits/rp_inherit"
#define RATPATHS_EXIT "/d/shadow/ratpaths/inherits/rp_exit_inherit"
#define DEEPROAD "/d/shadow/ratpaths/inherits/dr_inherit"
#define DEEPROAD_TR "/d/shadow/ratpaths/inherits/dr_transition"
#define PATH "/d/shadow/ratpaths/rooms/"
#define SHMON "/d/shadow/mon/"
... | 45 | 67 | 0.788889 |
70f4e111b05a2b9a73052a0cacf9cd81cbdaf314 | 12,057 | c | C | ext/ov_xml_writer.c | oliel/python-ovirt-engine-sdk4 | c0b13982b45dee664ebc063bda7686124b402c14 | [
"Apache-2.0"
] | 3 | 2022-01-14T00:37:58.000Z | 2022-03-26T12:26:32.000Z | ext/ov_xml_writer.c | oliel/python-ovirt-engine-sdk4 | c0b13982b45dee664ebc063bda7686124b402c14 | [
"Apache-2.0"
] | 29 | 2021-07-20T12:42:44.000Z | 2022-03-28T13:01:33.000Z | ext/ov_xml_writer.c | oliel/python-ovirt-engine-sdk4 | c0b13982b45dee664ebc063bda7686124b402c14 | [
"Apache-2.0"
] | 12 | 2021-07-20T12:27:07.000Z | 2022-02-24T11:10:12.000Z | /*
Copyright (c) 2016 Red Hat, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software... | 27.464692 | 117 | 0.60413 |
0cfa9b70f4dd085778dfa0f986d2747b6f89ea72 | 430 | py | Python | bin/ADFRsuite/CCSBpckgs/mglkey/__init__.py | AngelRuizMoreno/Jupyter_Dock_devel | 6d23bc174d5294d1e9909a0a1f9da0713042339e | [
"MIT"
] | null | null | null | bin/ADFRsuite/CCSBpckgs/mglkey/__init__.py | AngelRuizMoreno/Jupyter_Dock_devel | 6d23bc174d5294d1e9909a0a1f9da0713042339e | [
"MIT"
] | null | null | null | bin/ADFRsuite/CCSBpckgs/mglkey/__init__.py | AngelRuizMoreno/Jupyter_Dock_devel | 6d23bc174d5294d1e9909a0a1f9da0713042339e | [
"MIT"
] | 1 | 2021-11-04T21:48:14.000Z | 2021-11-04T21:48:14.000Z | #############################################################################
#
# Author: Michel F. SANNER
#
# Copyright: M. Sanner and TSRI 2015
#
#########################################################################
#
# $Header: /mnt/raid/services/cvs/mglkeyDIST/mglkey/__init__.py,v 1.1.1.1 2016/12/07 23:27:34 sa... | 30.714286 | 106 | 0.448837 |
3fc13f2c75e32987e90f0d178b834e62b8388313 | 1,834 | h | C | WisdomLife/WisdomLife/Helper/NMHUDManager/NMHUDManager.h | christes/WisdomLife | 81a0c819eb6287cf5c01bb2d3f9779024eebd0b9 | [
"Apache-2.0"
] | null | null | null | WisdomLife/WisdomLife/Helper/NMHUDManager/NMHUDManager.h | christes/WisdomLife | 81a0c819eb6287cf5c01bb2d3f9779024eebd0b9 | [
"Apache-2.0"
] | null | null | null | WisdomLife/WisdomLife/Helper/NMHUDManager/NMHUDManager.h | christes/WisdomLife | 81a0c819eb6287cf5c01bb2d3f9779024eebd0b9 | [
"Apache-2.0"
] | null | null | null | //
// NMHUDManager.h
// LemonLoan
//
// Created by xiaoping on 16/5/16.
// Copyright © 2016年 coffee. All rights reserved.
//
#import <Foundation/Foundation.h>
@class UIView,UIButton;
@interface NMHUDManager : NSObject
#pragma mark - show
+ (void)showWithText:(NSString *)text;
+ (void)showWithDefaultText;
+ (voi... | 29.580645 | 138 | 0.748092 |
2f098ba56165940d4e38009d80c5bbf883f78790 | 1,032 | php | PHP | Semester 4/WEB/pertemuan3/proses.php | bijancot/materikuliah | 119c26238e08487dda9b0c4f700e393e581f59f8 | [
"MIT"
] | null | null | null | Semester 4/WEB/pertemuan3/proses.php | bijancot/materikuliah | 119c26238e08487dda9b0c4f700e393e581f59f8 | [
"MIT"
] | null | null | null | Semester 4/WEB/pertemuan3/proses.php | bijancot/materikuliah | 119c26238e08487dda9b0c4f700e393e581f59f8 | [
"MIT"
] | null | null | null | <?php
include_once('database.php');
$param = $_POST['buttonInput'];
$id = $_POST['id'];
$nama = $_POST['nama'];
$kode = $_POST['kode'];
$harga= $_POST['harga'];
echo $param;
if($param=="input"){
$yolo = $mysqli->prepare("INSERT INTO barang(kode,nama,harga) VALUES(?,?,?)");
$yolo->bind_param('sss',$kode,$n... | 29.485714 | 86 | 0.559109 |
9c206f2481166e3c973e2f2960fbabca4f05e50e | 2,949 | js | JavaScript | lib/actions.js | wangpin34/sqldog | dd5326b840c262791911d156bad2e14102a9636b | [
"MIT"
] | 1 | 2019-08-24T02:59:01.000Z | 2019-08-24T02:59:01.000Z | lib/actions.js | wangpin34/sqldog | dd5326b840c262791911d156bad2e14102a9636b | [
"MIT"
] | null | null | null | lib/actions.js | wangpin34/sqldog | dd5326b840c262791911d156bad2e14102a9636b | [
"MIT"
] | 2 | 2015-10-30T08:31:54.000Z | 2019-08-24T03:05:47.000Z | var child_process = require('child_process');
var util = require('util');
var _ = require('underscore');
var setup = require('./setup');
var data = require('./data');
var ft = require('./fileutils');
var conf = data.getConf();
var db = conf.db;
var host = db.host;
var port = db.port;
var user = db.user;
var passwor... | 19.66 | 132 | 0.6392 |
0c844a07b81367c6e40feb94bf39e5508b8f654c | 1,134 | py | Python | prac2_2.py | JulianAZW/bookish-lamp | 24f354d8fa16841f256a2ad40668126604131cef | [
"MIT"
] | 1 | 2022-03-26T01:07:57.000Z | 2022-03-26T01:07:57.000Z | prac2_2.py | JulianAZW/bookish-lamp | 24f354d8fa16841f256a2ad40668126604131cef | [
"MIT"
] | null | null | null | prac2_2.py | JulianAZW/bookish-lamp | 24f354d8fa16841f256a2ad40668126604131cef | [
"MIT"
] | 1 | 2022-03-27T02:32:39.000Z | 2022-03-27T02:32:39.000Z | # -*- coding: utf-8 -*-
"""
Created on Thu Mar 17 19:08:54 2022
@author: julian
"""
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
def heatmap(df):
correlation_matrix = df.corr().round(2)
print(correlation_matrix)
sns_h = sns.heatmap(data=correlation_matrix, annot=True)
s... | 26.372093 | 77 | 0.613757 |
0b43e92ff65dfbae4bcf1fe66e16f6008f379b22 | 2,605 | py | Python | test_hrm_code.py | liameirose/bme590hrm | d44573b73b46b121a31667c12bb6add4e8a8daa7 | [
"MIT"
] | null | null | null | test_hrm_code.py | liameirose/bme590hrm | d44573b73b46b121a31667c12bb6add4e8a8daa7 | [
"MIT"
] | 2 | 2018-10-20T22:16:56.000Z | 2018-10-25T23:56:43.000Z | test_hrm_code.py | liameirose/bme590hrm | d44573b73b46b121a31667c12bb6add4e8a8daa7 | [
"MIT"
] | null | null | null | import pytest
import json
import numpy as np
@pytest.mark.parametrize("candidate, expected", [
(1.345, True),
(-4.554, True),
('9999', True)
])
def test_number_please(candidate, expected):
from hrm_code import number_please
assert number_please(candidate) == expected
def test_import_data():
... | 26.05 | 69 | 0.621881 |
15d5cefc04958179351e40849db54ab2a2c9449b | 1,060 | rb | Ruby | spec/core/file/chmod_spec.rb | tqrg-bot/rubinius | beb0fe3968ea7ff3c09e192605eef066136105c8 | [
"BSD-3-Clause"
] | null | null | null | spec/core/file/chmod_spec.rb | tqrg-bot/rubinius | beb0fe3968ea7ff3c09e192605eef066136105c8 | [
"BSD-3-Clause"
] | null | null | null | spec/core/file/chmod_spec.rb | tqrg-bot/rubinius | beb0fe3968ea7ff3c09e192605eef066136105c8 | [
"BSD-3-Clause"
] | null | null | null | require File.dirname(__FILE__) + '/../../spec_helper'
describe "File#chmod" do
before :each do
@filename = File.dirname(__FILE__) + '/fixtures/i_exist'
@file = File.open(@filename, 'w')
end
after :each do
@file.close
File.delete(@filename) if File.exist?(@filename)
end
it "returns 0 i... | 23.043478 | 68 | 0.636792 |
64e780c53b14b8d54e7b29765c0948e7c105d76b | 2,974 | swift | Swift | StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/BarcodeDetector.swift | 1amageek/stripe-ios | 742188f6f3b17c436fd95f6aa6edfd6dc0e560f7 | [
"MIT"
] | null | null | null | StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/BarcodeDetector.swift | 1amageek/stripe-ios | 742188f6f3b17c436fd95f6aa6edfd6dc0e560f7 | [
"MIT"
] | null | null | null | StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/BarcodeDetector.swift | 1amageek/stripe-ios | 742188f6f3b17c436fd95f6aa6edfd6dc0e560f7 | [
"MIT"
] | null | null | null | //
// BarcodeDetector.swift
// StripeIdentity
//
// Created by Mel Ludowise on 2/25/22.
//
import Foundation
import Vision
struct BarcodeDetectorOutput: Equatable {
let hasBarcode: Bool
let isTimedOut: Bool
let symbology: VNBarcodeSymbology
let timeTryingToFindBarcode: TimeInterval
}
extension Bar... | 30.040404 | 90 | 0.658709 |
f55533f7b5c7e825ba68bb48c51017fdb01caa91 | 2,764 | swift | Swift | examples/supplemental/TimelineView.swift | Saruul-Ulzii/material-motion-swift | 40decaf295aa1e41417e7f4dec8a7391c29e27ab | [
"Apache-2.0"
] | 1,500 | 2017-03-17T20:13:38.000Z | 2022-03-16T09:29:32.000Z | examples/supplemental/TimelineView.swift | Saruul-Ulzii/material-motion-swift | 40decaf295aa1e41417e7f4dec8a7391c29e27ab | [
"Apache-2.0"
] | 76 | 2017-03-16T19:33:41.000Z | 2020-02-04T07:05:03.000Z | examples/supplemental/TimelineView.swift | material-motion/reactive-motion-swift | fae8c59f53066e1d3fe6c5d39192e0c51303a656 | [
"Apache-2.0"
] | 103 | 2017-03-28T21:12:37.000Z | 2021-02-04T18:43:36.000Z | /*
Copyright 2016-present The Material Motion Authors. 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 the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... | 31.409091 | 96 | 0.716353 |
98cf1edce86904ba3635c9314851e641ee411403 | 73 | html | HTML | assets/src/template/scripts.html | EugeneKobeliaksky/print-online_webapp | 043e111291636df20a7241c5888c607f497ac4ae | [
"MIT"
] | null | null | null | assets/src/template/scripts.html | EugeneKobeliaksky/print-online_webapp | 043e111291636df20a7241c5888c607f497ac4ae | [
"MIT"
] | null | null | null | assets/src/template/scripts.html | EugeneKobeliaksky/print-online_webapp | 043e111291636df20a7241c5888c607f497ac4ae | [
"MIT"
] | null | null | null | <script src="js/main.min.js"></script>
<script src="js/main.js"></script> | 36.5 | 38 | 0.671233 |
606ec77109dd4eece80fb8b06c8a818b38a01bf1 | 53,379 | html | HTML | src/main/resources/words/6076.html | conanchen/easyhan-cloud | 227ff71231607fe0f35d1f67236e830e86897c27 | [
"Apache-2.0"
] | null | null | null | src/main/resources/words/6076.html | conanchen/easyhan-cloud | 227ff71231607fe0f35d1f67236e830e86897c27 | [
"Apache-2.0"
] | null | null | null | src/main/resources/words/6076.html | conanchen/easyhan-cloud | 227ff71231607fe0f35d1f67236e830e86897c27 | [
"Apache-2.0"
] | null | null | null | <body class="module" id="wise-word-body" data-prop="" data-name="">
<header id="header" class="headroom fixed">
<div class="headroom--container">
<div class="c-row fl-row">
<div class="word-name">恶</div>
<div class="c-span9">
... | 93.977113 | 23,633 | 0.555068 |
2d4e4bd5484a170f36e3fde409bbd658b9cf24aa | 6,904 | lua | Lua | tek/class/sessionrequest.lua | RangelReale/luaexec | c1729e1b86b46de68030de037f2d95eb56ad296b | [
"MIT"
] | null | null | null | tek/class/sessionrequest.lua | RangelReale/luaexec | c1729e1b86b46de68030de037f2d95eb56ad296b | [
"MIT"
] | null | null | null | tek/class/sessionrequest.lua | RangelReale/luaexec | c1729e1b86b46de68030de037f2d95eb56ad296b | [
"MIT"
] | null | null | null | -------------------------------------------------------------------------------
--
-- tek.class.sessionrequest
-- (C) by Timm S. Mueller <tmueller@schulze-mueller.de>
--
-- OVERVIEW::
-- [[#ClassOverview]] :
-- [[#tek.class : Class]] /
-- [[#tek.class.httprequest : HTTPRequest]] /
-- SessionRequest ${subclasses(Ses... | 33.033493 | 94 | 0.534038 |
c43094749ad3a23a77bcbd0c367ec4d553104b36 | 1,610 | h | C | tests/juliet/testcases/CWE400_Resource_Exhaustion/s01/CWE400_Resource_Exhaustion__fscanf_sleep_84.h | RanerL/analyzer | a401da4680f163201326881802ee535d6cf97f5a | [
"MIT"
] | 28 | 2017-01-20T15:25:54.000Z | 2020-03-17T00:28:31.000Z | testcases/CWE400_Resource_Exhaustion/s01/CWE400_Resource_Exhaustion__fscanf_sleep_84.h | mellowCS/cwe_checker_juliet_suite | ae604f6fd94964251fbe88ef04d5287f6c1ffbe2 | [
"MIT"
] | 1 | 2017-01-20T15:26:27.000Z | 2018-08-20T00:55:37.000Z | testcases/CWE400_Resource_Exhaustion/s01/CWE400_Resource_Exhaustion__fscanf_sleep_84.h | mellowCS/cwe_checker_juliet_suite | ae604f6fd94964251fbe88ef04d5287f6c1ffbe2 | [
"MIT"
] | 2 | 2019-07-15T19:07:04.000Z | 2019-09-07T14:21:04.000Z | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE400_Resource_Exhaustion__fscanf_sleep_84.h
Label Definition File: CWE400_Resource_Exhaustion.label.xml
Template File: sources-sinks-84.tmpl.h
*/
/*
* @description
* CWE: 400 Resource Exhaustion
* BadSource: fscanf Read data from the console using fscanf()
* ... | 25.967742 | 147 | 0.765839 |
993c066f4858b1bfbb33131c062540e5a13d4d4c | 1,165 | h | C | sort.h | LANL-Bioinformatics/BIGSI- | ccf1b1878b10f40ab475499aadcdb7c238e257e1 | [
"BSD-3-Clause"
] | 2 | 2021-06-23T04:33:18.000Z | 2021-06-23T12:55:26.000Z | sort.h | LANL-Bioinformatics/BIGSI- | ccf1b1878b10f40ab475499aadcdb7c238e257e1 | [
"BSD-3-Clause"
] | null | null | null | sort.h | LANL-Bioinformatics/BIGSI- | ccf1b1878b10f40ab475499aadcdb7c238e257e1 | [
"BSD-3-Clause"
] | 1 | 2021-06-22T22:05:56.000Z | 2021-06-22T22:05:56.000Z | #ifndef __SORT
#define __SORT
// While we can get OpenMP working on clang, I have not yet found a
// way to use the Gnu parallel C++ api ...
#if defined(_OPENMP) && !defined(__clang__)
#include <parallel/algorithm>
// The default parallel sort algorithm used in __gnu_parallel::sort (potentially
// called via the ... | 37.580645 | 94 | 0.736481 |
be998c9768096037d488975146ad235f71b0782e | 1,537 | kt | Kotlin | retainmvp/src/main/java/com/retainmvp/Presenters.kt | lukas1/RetainMVP | 9ce592ddd44d8b64444830a9a85a2aef4a022f9d | [
"Apache-2.0"
] | null | null | null | retainmvp/src/main/java/com/retainmvp/Presenters.kt | lukas1/RetainMVP | 9ce592ddd44d8b64444830a9a85a2aef4a022f9d | [
"Apache-2.0"
] | null | null | null | retainmvp/src/main/java/com/retainmvp/Presenters.kt | lukas1/RetainMVP | 9ce592ddd44d8b64444830a9a85a2aef4a022f9d | [
"Apache-2.0"
] | null | null | null | package com.retainmvp
import android.content.Intent
import android.os.Bundle
import android.support.v4.app.FragmentManager
import android.support.v7.app.AppCompatActivity
object Presenters {
private const val TAG_PRESENTER_HOLDER_FRAGMENT = "presenter_holder"
fun <P : Presenter<V, S>, V, S> getPresenterForAc... | 41.540541 | 115 | 0.637606 |
c3149e4b0a29495c05195124e03427173bb2b875 | 694 | lua | Lua | hub.lua | vishal272/Mastermine | e69439bb53e30435970afdc6aa7f30d76be26772 | [
"MIT"
] | 42 | 2020-11-21T22:18:59.000Z | 2022-03-31T13:19:53.000Z | hub.lua | RaptorPort/Mastermine | 0b96a1a2418e0e16ed95b7c4ebcfd7ffb70fae6c | [
"MIT"
] | 33 | 2020-12-17T08:16:28.000Z | 2022-02-03T03:16:12.000Z | hub.lua | RaptorPort/Mastermine | 0b96a1a2418e0e16ed95b7c4ebcfd7ffb70fae6c | [
"MIT"
] | 16 | 2020-12-08T19:31:02.000Z | 2022-01-25T06:55:57.000Z | if fs.exists('/disk/hub_files/session_id') then
fs.delete('/disk/hub_files/session_id')
end
if fs.exists('/session_id') then
fs.copy('/session_id', '/disk/hub_files/session_id')
end
if fs.exists('/disk/hub_files/mine') then
fs.delete('/disk/hub_files/mine')
end
if fs.exists('/mine') then
fs.copy('/mine'... | 30.173913 | 127 | 0.665706 |
b2f671ce255a5bba8f874bbc3dd12c5ed3323b5b | 324 | swift | Swift | crashes-duplicates/03159-swift-sourcemanager-getmessage.swift | radex/swift-compiler-crashes | 41a18a98ae38e40384a38695805745d509b6979e | [
"MIT"
] | null | null | null | crashes-duplicates/03159-swift-sourcemanager-getmessage.swift | radex/swift-compiler-crashes | 41a18a98ae38e40384a38695805745d509b6979e | [
"MIT"
] | null | null | null | crashes-duplicates/03159-swift-sourcemanager-getmessage.swift | radex/swift-compiler-crashes | 41a18a98ae38e40384a38695805745d509b6979e | [
"MIT"
] | null | null | null | // Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
var e(h(v: C {
protocol a
{
enum S<T {
struct S<T where g: AnyObject) {
func g: a {
struct S<T.h(v: d = a
struct Q<T where g<D> Void>(")
class
case c,
... | 20.25 | 87 | 0.697531 |
198a4c698cbf95fafdf28ea88532bbc64397efe3 | 3,411 | swift | Swift | Sources/Toggl2Redmine/Future.swift | svastven/Toggl2Redmine | 3a9b262b049367a22dc3d559554b8f5ab2c38f1b | [
"MIT"
] | 6 | 2020-03-05T07:15:02.000Z | 2020-07-19T14:45:24.000Z | Sources/Toggl2Redmine/Future.swift | svastven/Toggl2Redmine | 3a9b262b049367a22dc3d559554b8f5ab2c38f1b | [
"MIT"
] | 9 | 2020-03-05T07:22:26.000Z | 2021-05-12T18:46:25.000Z | Sources/Toggl2Redmine/Future.swift | svastven/Toggl2Redmine | 3a9b262b049367a22dc3d559554b8f5ab2c38f1b | [
"MIT"
] | 4 | 2020-03-05T08:43:00.000Z | 2021-11-06T23:54:06.000Z | /**
* Swift by Sundell sample code
* Copyright (c) John Sundell 2020
* See LICENSE file for license
*
* Read the article at https://swiftbysundell.com/posts/under-the-hood-of-futures-and-promises-in-swift
*/
import Foundation
class Future<Value> {
typealias Result = Swift.Result<Value, Error>
fileprivate... | 28.425 | 109 | 0.527118 |
143918dd5dc9bae2123779dac43035c914daee15 | 265 | css | CSS | frontend/src/components/reactions/Reactions.css | Chia-Network/keybase-live-feed | a744e7eece8dc6636fb4fe137a5f5250c29e9ea7 | [
"Apache-2.0"
] | 16 | 2019-04-05T00:24:31.000Z | 2021-06-06T11:31:09.000Z | frontend/src/components/reactions/Reactions.css | Chia-Network/keybase-live-feed | a744e7eece8dc6636fb4fe137a5f5250c29e9ea7 | [
"Apache-2.0"
] | 6 | 2019-12-24T17:55:52.000Z | 2022-02-27T13:47:28.000Z | frontend/src/components/reactions/Reactions.css | Chia-Network/keybase-live-feed | a744e7eece8dc6636fb4fe137a5f5250c29e9ea7 | [
"Apache-2.0"
] | 7 | 2019-04-17T18:33:45.000Z | 2021-11-13T04:00:47.000Z | .reaction {
border: 1px solid #E7E7E7;
border-radius: 10px;
margin-left: 0.5rem;
margin-bottom: 0.2rem;
padding: 0.7rem;
text-align: center;
}
.reaction-contents {
font-weight: bold;
display: inline-block;
margin-left: 0.5rem;
} | 18.928571 | 30 | 0.626415 |
0cc0bf99ee01e613b032f7efe713db47ddaef6b6 | 1,137 | py | Python | ossdbtoolsservice/metadata/contracts/object_metadata.py | DaeunYim/pgtoolsservice | b7e548718d797883027b2caee2d4722810b33c0f | [
"MIT"
] | 33 | 2019-05-27T13:04:35.000Z | 2022-03-17T13:33:05.000Z | ossdbtoolsservice/metadata/contracts/object_metadata.py | DaeunYim/pgtoolsservice | b7e548718d797883027b2caee2d4722810b33c0f | [
"MIT"
] | 31 | 2019-06-10T01:55:47.000Z | 2022-03-09T07:27:49.000Z | ossdbtoolsservice/metadata/contracts/object_metadata.py | DaeunYim/pgtoolsservice | b7e548718d797883027b2caee2d4722810b33c0f | [
"MIT"
] | 25 | 2019-05-13T18:39:24.000Z | 2021-11-16T03:07:33.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 34.454545 | 156 | 0.591029 |
96f514fbab55fa8bf9361c1f913e6c6f6fdb8fd5 | 772 | kt | Kotlin | core/core/src/jsMain/kotlin/zakadabar/core/browser/util/log.kt | tbml/zakadabar-stack | ee0b8916fe805ab0d460371365e97a9eac1c42dd | [
"Apache-2.0"
] | 16 | 2020-12-04T19:48:52.000Z | 2022-03-14T20:26:54.000Z | core/core/src/jsMain/kotlin/zakadabar/core/browser/util/log.kt | tbml/zakadabar-stack | ee0b8916fe805ab0d460371365e97a9eac1c42dd | [
"Apache-2.0"
] | 97 | 2020-08-30T08:23:04.000Z | 2022-03-27T05:39:50.000Z | core/core/src/jsMain/kotlin/zakadabar/core/browser/util/log.kt | tbml/zakadabar-stack | ee0b8916fe805ab0d460371365e97a9eac1c42dd | [
"Apache-2.0"
] | 3 | 2021-04-06T09:50:23.000Z | 2022-02-11T00:53:03.000Z | /*
* Copyright © 2020-2021, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package zakadabar.core.browser.util
fun log(ex: dynamic): String {
if (ex == null) return ""
val stack = ex.stack
return if (stack is String) {
val message = ex.mes... | 28.592593 | 126 | 0.612694 |
039cdcc0167d58951b57ea6f3b195501bb32cf35 | 123 | swift | Swift | .insert() and .remove() Methods.swift | WeKnow-io/Swift-lang | 783f2c5575a1fa6b759dc6c739f86cdea8a89a36 | [
"Unlicense"
] | 1 | 2020-12-17T20:01:32.000Z | 2020-12-17T20:01:32.000Z | .insert() and .remove() Methods.swift | WeKnow-io/Swift-lang | 783f2c5575a1fa6b759dc6c739f86cdea8a89a36 | [
"Unlicense"
] | null | null | null | .insert() and .remove() Methods.swift | WeKnow-io/Swift-lang | 783f2c5575a1fa6b759dc6c739f86cdea8a89a36 | [
"Unlicense"
] | 1 | 2020-12-21T11:05:03.000Z | 2020-12-21T11:05:03.000Z | var dna = ["ATG", "ACG", "GAA", "TAT"]
// Write your code below 🧬
dna.insert("GTG", at: 3)
dna.remove(at: 0)
print(dna)
| 13.666667 | 38 | 0.577236 |
f0357d3c2268f1eddbd82d1aab92c32847e51c31 | 1,267 | swift | Swift | Example/xSDK/测试视图/06 输入框附加视图/Kit06ViewController.swift | kaibuleite/xSDK | 7674da16521c6673b27f4ef77c174e6879358415 | [
"MIT"
] | 1 | 2020-10-12T16:27:08.000Z | 2020-10-12T16:27:08.000Z | Example/xSDK/测试视图/06 输入框附加视图/Kit06ViewController.swift | kaibuleite/xSDK | 7674da16521c6673b27f4ef77c174e6879358415 | [
"MIT"
] | null | null | null | Example/xSDK/测试视图/06 输入框附加视图/Kit06ViewController.swift | kaibuleite/xSDK | 7674da16521c6673b27f4ef77c174e6879358415 | [
"MIT"
] | null | null | null | //
// Kit06ViewController.swift
// xSDK_Example
//
// Created by Mac on 2020/9/18.
// Copyright © 2020 CocoaPods. All rights reserved.
//
import UIKit
import xSDK
class Kit06ViewController: UIViewController {
@IBOutlet weak var normalInput: xTextField!
@IBOutlet weak var numberInput: xTextField!
... | 25.34 | 56 | 0.558011 |
65a724e29f7df9378443c3fd175efecb499b1a33 | 774 | lua | Lua | python/output/towers.lua | CppCXY/excel-to-lua | 2c6b1803cf29481638a718ec43357f360d6c7421 | [
"MIT"
] | 4 | 2019-03-14T12:50:47.000Z | 2020-01-05T05:17:25.000Z | python/output/towers.lua | luoxixuan/excel-to-lua | 2c6b1803cf29481638a718ec43357f360d6c7421 | [
"MIT"
] | null | null | null | python/output/towers.lua | luoxixuan/excel-to-lua | 2c6b1803cf29481638a718ec43357f360d6c7421 | [
"MIT"
] | 1 | 2020-01-05T05:17:41.000Z | 2020-01-05T05:17:41.000Z | local towers={
{key="江湖异人",desc="与江湖上各种奇人异士一争高下。",
None={ { type="", }, },},
{key="决战光明顶",desc="你将扮演六大派高手,围剿明教光明顶。",
None={ { type="have_item", value="天关.决战光明顶之证", }, },},
{key="林平之的复仇",desc="你将扮演林平之,完成对木高峰、余沧海的复仇。",
None={ { type="have_item", value="天关.林平之的复仇", }, },},
{key="血战少室山",desc="你将扮演庄聚贤,慕容复,丁春秋对战天龙三兄弟",... | 29.769231 | 90 | 0.589147 |
45c91829e30426832e4043bfea5815574b844887 | 75 | rs | Rust | render/src/buffer/mod.rs | monocodus-demonstrations/flowbetween | 78cab5dff9183cdf659405fe465013527eb08879 | [
"Apache-2.0"
] | 13 | 2021-02-17T22:28:06.000Z | 2022-03-05T16:04:09.000Z | render/src/buffer/mod.rs | monocodus-demonstrations/flowbetween | 78cab5dff9183cdf659405fe465013527eb08879 | [
"Apache-2.0"
] | 2 | 2021-03-10T10:32:21.000Z | 2022-01-21T10:48:13.000Z | render/src/buffer/mod.rs | Logicalshift/flo_draw | e1bc89fc9f4796a40c9c3afbc702b520568e25c4 | [
"Apache-2.0"
] | null | null | null | mod vertex;
mod matrix;
pub use self::vertex::*;
pub use self::matrix::*;
| 12.5 | 24 | 0.666667 |
9ead4730320dd24da4336825bf6e1014ce6a444c | 69 | rs | Rust | near-contract-standards/src/lib.rs | sept-en/near-sdk-rs | fa2383ebac1dd5f10487f95a4eaca4db8e994630 | [
"Apache-2.0",
"MIT"
] | null | null | null | near-contract-standards/src/lib.rs | sept-en/near-sdk-rs | fa2383ebac1dd5f10487f95a4eaca4db8e994630 | [
"Apache-2.0",
"MIT"
] | null | null | null | near-contract-standards/src/lib.rs | sept-en/near-sdk-rs | fa2383ebac1dd5f10487f95a4eaca4db8e994630 | [
"Apache-2.0",
"MIT"
] | null | null | null | pub mod fungible_token;
pub mod storage_management;
pub mod upgrade;
| 17.25 | 27 | 0.826087 |
164083bbd011e6d920f831725b40fb95b6b4c3e7 | 554 | tsx | TypeScript | src/Select/Select.stories.tsx | Yair-Ohana/react-daisyui | fa27b85de012b8e298aec36595efa99eb5880aa5 | [
"MIT"
] | 28 | 2022-03-09T20:44:20.000Z | 2022-03-11T20:43:08.000Z | src/Select/Select.stories.tsx | Yair-Ohana/react-daisyui | fa27b85de012b8e298aec36595efa99eb5880aa5 | [
"MIT"
] | null | null | null | src/Select/Select.stories.tsx | Yair-Ohana/react-daisyui | fa27b85de012b8e298aec36595efa99eb5880aa5 | [
"MIT"
] | 1 | 2022-03-11T02:04:02.000Z | 2022-03-11T02:04:02.000Z | import React from 'react'
import { Story, Meta } from '@storybook/react'
import Select, { SelectProps } from '.'
const { Option } = Select
export default {
title: 'Data Input/Select',
component: Select,
parameters: {
controls: { exclude: ['ref'] },
},
} as Meta
export const Default: Story<SelectProps<st... | 19.785714 | 62 | 0.601083 |
16ac5f47d30e47eb1b4d18a0af622c2a26eb2bdc | 1,193 | ts | TypeScript | stronghold/src/serde/iJson.ts | stronghold-financial/stronghold | 7461cbdc6c67459517f10205bd918111ad109100 | [
"MIT"
] | 1 | 2021-06-24T20:23:50.000Z | 2021-06-24T20:23:50.000Z | stronghold/src/serde/iJson.ts | nairyl/stronghold | cdceab6cdcc027f9bf173e1bd17a04d1c7d6eca9 | [
"MIT"
] | null | null | null | stronghold/src/serde/iJson.ts | nairyl/stronghold | cdceab6cdcc027f9bf173e1bd17a04d1c7d6eca9 | [
"MIT"
] | 1 | 2021-10-20T07:30:49.000Z | 2021-10-20T07:30:49.000Z | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
import BJSON from 'buffer-json'
/**
* IJSON, for Stronghold JSON. Supports parsing/stringifying Buffers and Big... | 33.138889 | 81 | 0.609388 |
fe0f1695986075999438e16894e47748103e1ae9 | 87,172 | c | C | base/fs/srv/io.c | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/fs/srv/io.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/fs/srv/io.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1989 Microsoft Corporation
Module Name:
io.c
Abstract:
!!! Need to handle inability to allocate IRP.
!!! Need to modify to accept file object pointer, not file handle,
to avoid unnecessary translations.
Author:
Chuck Lenzmeier (chuckl) 28-Oct-1989
... | 27.07205 | 94 | 0.608223 |
1341277756b6992bad602366d60b034ecc3e9fb9 | 2,184 | lua | Lua | doc/extract_doc.lua | LuaDist-testing/lua-xmlreader | 00ef07503b45c37e584ccb6ccc512a4581751a9f | [
"MIT"
] | 2 | 2017-08-04T11:08:49.000Z | 2019-03-10T20:02:41.000Z | doc/extract_doc.lua | LuaDist-testing/lua-xmlreader | 00ef07503b45c37e584ccb6ccc512a4581751a9f | [
"MIT"
] | null | null | null | doc/extract_doc.lua | LuaDist-testing/lua-xmlreader | 00ef07503b45c37e584ccb6ccc512a4581751a9f | [
"MIT"
] | 4 | 2017-12-16T23:45:05.000Z | 2022-01-14T10:41:18.000Z | modules={}
function module(name)
if modules[name] then
current_module=modules[name]
else
current_module={name=name, description=""}
modules[#modules+1]=name
modules[name]=current_module
end
current_obj=current_module
end
function signature(name)
current_obj = {name=name, params={}, returns={}... | 23.483871 | 67 | 0.628663 |
bcba0bcd6830246d99c81921b335eee871f2c4d9 | 1,937 | js | JavaScript | src/pages/index.js | fune0/portfolio | 5a86c4b7ac2c13483b1a503664d8086af24408de | [
"MIT"
] | null | null | null | src/pages/index.js | fune0/portfolio | 5a86c4b7ac2c13483b1a503664d8086af24408de | [
"MIT"
] | 4 | 2021-09-21T00:20:49.000Z | 2022-02-26T11:27:39.000Z | src/pages/index.js | fune0/portfolio | 5a86c4b7ac2c13483b1a503664d8086af24408de | [
"MIT"
] | null | null | null | import React from "react"
import Layout from "../components/layout/index"
import Image from "../components/image"
import SEO from "../components/seo"
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faGithub, faTwitter, faWordpressSimple } from '@fortawesome/free-brands-svg-icons'
const Ind... | 27.671429 | 91 | 0.508002 |
3923622e878f882480926b6d3b8ec69a597cf96a | 128 | sql | SQL | engine/tests/test_files/sql/one_statement_with_comments.sql | paulana/Elgg | 2535fb6eeca635d7bca2fdd0f5dbfdb7c4c2185f | [
"MIT"
] | 1,090 | 2015-01-08T23:46:03.000Z | 2022-03-31T00:52:22.000Z | engine/tests/test_files/sql/one_statement_with_comments.sql | paulana/Elgg | 2535fb6eeca635d7bca2fdd0f5dbfdb7c4c2185f | [
"MIT"
] | 4,918 | 2015-01-01T00:59:12.000Z | 2022-03-31T14:05:53.000Z | engine/tests/test_files/sql/one_statement_with_comments.sql | paulana/Elgg | 2535fb6eeca635d7bca2fdd0f5dbfdb7c4c2185f | [
"MIT"
] | 513 | 2015-01-03T21:27:59.000Z | 2022-03-15T16:50:04.000Z | -- This is the first comment
INSERT INTO prefix_sometable (`key`) VALUES ('Value -- not a comment');
-- This is another comment
| 32 | 71 | 0.71875 |
d253924d3b42d2da44471e627835eb2f7e079a9f | 9,508 | php | PHP | controllers/SiteController.php | yuralyashkov/beicon | c0f77a17181729f2b52eff5a6e92ba8b069f85b7 | [
"BSD-3-Clause"
] | null | null | null | controllers/SiteController.php | yuralyashkov/beicon | c0f77a17181729f2b52eff5a6e92ba8b069f85b7 | [
"BSD-3-Clause"
] | null | null | null | controllers/SiteController.php | yuralyashkov/beicon | c0f77a17181729f2b52eff5a6e92ba8b069f85b7 | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace app\controllers;
use app\models\forms\Subscribe;
use app\models\Meta;
use app\models\Sitemap;
use Bitrix\Main\Context\Site;
use Yii;
use yii\filters\AccessControl;
use yii\web\Controller;
use yii\web\HttpException;
use yii\web\Response;
use yii\filters\VerbFilter;
use app\models\LoginForm;... | 33.361404 | 204 | 0.457089 |
a1c647e106dda8e524c0cfd63476275a556b6ac5 | 341 | h | C | SwiftFramework/SLPCommon.framework/Headers/SLPSleepaceMusicInfo.h | sunderlow/SwiftFramework | 97f805851934395cb713acf0beee04dcdab9a8ea | [
"MIT"
] | 1 | 2020-09-25T01:02:17.000Z | 2020-09-25T01:02:17.000Z | SwiftFramework/SLPCommon.framework/Headers/SLPSleepaceMusicInfo.h | sunderlow/SwiftFramework | 97f805851934395cb713acf0beee04dcdab9a8ea | [
"MIT"
] | null | null | null | SwiftFramework/SLPCommon.framework/Headers/SLPSleepaceMusicInfo.h | sunderlow/SwiftFramework | 97f805851934395cb713acf0beee04dcdab9a8ea | [
"MIT"
] | null | null | null | //
// SLPSleepaceMusicInfo.h
// SDK
//
// Created by Martin on 2018/3/1.
// Copyright © 2018年 Martin. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface SLPSleepaceMusicInfo : NSObject
@property (nonatomic, assign) UInt16 musicID;//音乐ID
@property (nonatomic, assign) UInt8 playMode;//播放模式 0:顺序播放 ... | 22.733333 | 74 | 0.721408 |
d25cd28e249fd0dc17efd5c8c64ea85e8ee32ab3 | 7,604 | php | PHP | application/views/php_decode.php | YAJIMA/code-toolbox | c48f76945e9539f75fdaf2d5bbe820058403ac54 | [
"MIT"
] | null | null | null | application/views/php_decode.php | YAJIMA/code-toolbox | c48f76945e9539f75fdaf2d5bbe820058403ac54 | [
"MIT"
] | null | null | null | application/views/php_decode.php | YAJIMA/code-toolbox | c48f76945e9539f75fdaf2d5bbe820058403ac54 | [
"MIT"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: yajima
* Date: 2018-8月-29
* Time: 1:40
*/
?>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
<nav class="nav nav-sidebar">
<li><a href="<?php echo base_url('php/date'); ?>">日付変換</a></li>
... | 58.045802 | 197 | 0.451341 |
e4f08db0e34aa31236ce2365683acf553e5618b3 | 2,496 | swift | Swift | Sources/ALPopup/Source.swift | isaranjha/ALPopup | 918f4bbb84015cb53fb0a9815ed96257f601106f | [
"MIT"
] | 43 | 2021-08-16T14:19:12.000Z | 2022-03-07T07:07:42.000Z | Sources/ALPopup/Source.swift | isaranjha/ALPopup | 918f4bbb84015cb53fb0a9815ed96257f601106f | [
"MIT"
] | 4 | 2021-09-26T12:48:20.000Z | 2021-11-06T01:11:54.000Z | Sources/ALPopup/Source.swift | isaranjha/ALPopup | 918f4bbb84015cb53fb0a9815ed96257f601106f | [
"MIT"
] | 3 | 2021-08-23T10:30:20.000Z | 2022-01-02T18:05:46.000Z | // The MIT License (MIT)
//
// Copyright (c) 2021 Alexandr Guzenko (alxrguz@icloud.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation... | 35.15493 | 115 | 0.634215 |
5520a96c3b6996e73430847e51bee3c79a648101 | 741 | asm | Assembly | oeis/000/A000501.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/000/A000501.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/000/A000501.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A000501: a(n) = floor(cosh(n)).
; Submitted by Christian Krause
; 1,1,3,10,27,74,201,548,1490,4051,11013,29937,81377,221206,601302,1634508,4443055,12077476,32829984,89241150,242582597,659407867,1792456423,4872401723,13244561064,36002449668,97864804714,266024120300,723128532145,1965667148572,5343237290762,145244248326... | 30.875 | 486 | 0.778677 |
9ae7fe8faf6fcf4efc9c6563179db7466c2e5849 | 214 | swift | Swift | SwiftyFaker/faker/Animal.swift | schultzjim/SwiftyFakerOld | 7f34d3d6e1beb822f90b3c926d2d280561eb61e2 | [
"MIT"
] | null | null | null | SwiftyFaker/faker/Animal.swift | schultzjim/SwiftyFakerOld | 7f34d3d6e1beb822f90b3c926d2d280561eb61e2 | [
"MIT"
] | null | null | null | SwiftyFaker/faker/Animal.swift | schultzjim/SwiftyFakerOld | 7f34d3d6e1beb822f90b3c926d2d280561eb61e2 | [
"MIT"
] | null | null | null | //
// Animal.swift
// SwiftyFaker
//
// Created by Jim Schultz on 10/10/15.
// Copyright © 2015 Jim Schultz. All rights reserved.
//
import Foundation
extension Faker {
open class Animal: Faker {
}
}
| 14.266667 | 54 | 0.649533 |
c17fec6f5a601eef5f16ab83cbd1f66f1b83bc33 | 34,514 | rs | Rust | diem-move/diem-vm/src/diem_vm.rs | dimroc/diem | 5af341e53c9a24ebe24596f4890fcaaef3bcdc54 | [
"Apache-2.0"
] | 1 | 2022-02-07T21:57:17.000Z | 2022-02-07T21:57:17.000Z | diem-move/diem-vm/src/diem_vm.rs | dimroc/diem | 5af341e53c9a24ebe24596f4890fcaaef3bcdc54 | [
"Apache-2.0"
] | 80 | 2022-02-15T20:14:00.000Z | 2022-03-31T07:36:21.000Z | diem-move/diem-vm/src/diem_vm.rs | cperez08/libra | fc59a36f345d997c27f2eedc2b651bf4977ded7a | [
"Apache-2.0"
] | null | null | null | // Copyright (c) The Diem Core Contributors
// SPDX-License-Identifier: Apache-2.0
use crate::{
adapter_common,
adapter_common::{
discard_error_output, discard_error_vm_status, validate_signature_checked_transaction,
validate_signed_transaction, PreprocessedTransaction, VMAdapter,
},
co... | 37.111828 | 100 | 0.55195 |
0cb6a5d9b64c81ee9b97838a133419cdba2cb50d | 326 | py | Python | benchmark/mysql_benchmark.py | AlonFischer/SpatialDatabaseBench | 1fe933bd4196ba17c687f04c37cb5a34acc6d824 | [
"Apache-2.0"
] | 1 | 2020-11-17T22:56:56.000Z | 2020-11-17T22:56:56.000Z | benchmark/mysql_benchmark.py | AlonFischer/SpatialDatabaseBench | 1fe933bd4196ba17c687f04c37cb5a34acc6d824 | [
"Apache-2.0"
] | null | null | null | benchmark/mysql_benchmark.py | AlonFischer/SpatialDatabaseBench | 1fe933bd4196ba17c687f04c37cb5a34acc6d824 | [
"Apache-2.0"
] | null | null | null | from benchmark.benchmark import Benchmark
from mysqlutils.mysqladapter import MySQLAdapter
class MysqlBenchmark(Benchmark):
"""Abstract parent class for mysql benchmarks"""
def __init__(self, adapter, title, repeat_count=7):
super().__init__(title, repeat_count=repeat_count)
self.adapter = ad... | 29.636364 | 58 | 0.754601 |
9e76ff972cea0fc1fd755d1edb5182025793449d | 645 | asm | Assembly | oeis/157/A157844.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/157/A157844.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/157/A157844.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A157844: 103680000n^2 - 161251200n + 62697601.
; 5126401,154915201,512064001,1076572801,1848441601,2827670401,4014259201,5408208001,7009516801,8818185601,10834214401,13057603201,15488352001,18126460801,20971929601,24024758401,27284947201,30752496001,34427404801,38309673601,42399302401,46696291201,51200640001,55912348... | 71.666667 | 501 | 0.868217 |
fae16821e2aca0292632ba77c0313703014d9047 | 1,075 | sql | SQL | data/books.sql | redbearin/books | 0ffc57bdf5e6bf735f1610b723c7a151dcc85aca | [
"MIT"
] | null | null | null | data/books.sql | redbearin/books | 0ffc57bdf5e6bf735f1610b723c7a151dcc85aca | [
"MIT"
] | null | null | null | data/books.sql | redbearin/books | 0ffc57bdf5e6bf735f1610b723c7a151dcc85aca | [
"MIT"
] | null | null | null | DROP TABLE IF EXISTS books;
CREATE TABLE books(
id SERIAL PRIMARY KEY,
authors VARCHAR(255),
title VARCHAR(255),
description TEXT,
isbn VARCHAR(50),
thumbnail VARCHAR(255)
);
INSERT INTO books (authors, title, description, isbn, thumbnail)
VALUES('John Wright', 'Mushrooms', '"In the first of the... | 71.666667 | 389 | 0.76093 |
70d4ac5c718869f2ccf27bf7e6942e483951759b | 582 | go | Go | djbot/handlers.go | ksunhokim123/sdbx-discord-dj-bot | b5e8dc77ea1bf2d78c62e6f17396ce2028308b25 | [
"MIT"
] | 1 | 2018-01-18T04:25:03.000Z | 2018-01-18T04:25:03.000Z | djbot/handlers.go | ksunhokim123/sdbx-discord-dj-bot | b5e8dc77ea1bf2d78c62e6f17396ce2028308b25 | [
"MIT"
] | null | null | null | djbot/handlers.go | ksunhokim123/sdbx-discord-dj-bot | b5e8dc77ea1bf2d78c62e6f17396ce2028308b25 | [
"MIT"
] | 1 | 2018-02-27T05:46:22.000Z | 2018-02-27T05:46:22.000Z | package djbot
import (
"log"
"runtime/debug"
"github.com/bwmarrin/discordgo"
)
func (dj *DJBot) HandleNewMessage(sess *discordgo.Session, msg *discordgo.MessageCreate) {
if msg == nil || sess == nil {
return
}
defer func() {
if r := recover(); r != nil {
log.Println("recoverd:", r)
log.Println(strin... | 17.117647 | 90 | 0.659794 |
f0790474dabf6b841f25ca95dab836ba82a66003 | 2,146 | js | JavaScript | bin/commands/init.js | beyo/beyo | 48292d8baedf767fe6eb6ecc117da9ea22609a4c | [
"MIT"
] | 1 | 2015-04-23T19:15:22.000Z | 2015-04-23T19:15:22.000Z | bin/commands/init.js | beyo/beyo | 48292d8baedf767fe6eb6ecc117da9ea22609a4c | [
"MIT"
] | null | null | null | bin/commands/init.js | beyo/beyo | 48292d8baedf767fe6eb6ecc117da9ea22609a4c | [
"MIT"
] | null | null | null |
const APPLICATION_NAME_REGEXP = /^[a-z]+[a-zA-Z0-9-_.]*$/;
const MODULE_NAME_REGEXP = /^[a-z]+[a-zA-Z0-9]*$/;
var crypto = require('crypto');
var co = require('co');
var errorFactory = require('error-factory');
var basename = require('path').basename;
var fileProc = require('../../lib/io/file-processor');
var BeyoIn... | 32.515152 | 115 | 0.668686 |
85250e16240843382a3431c622a7d1c3a66f7c5f | 851 | kt | Kotlin | secure-shared-preferences/src/sharedTest/java/com/github/ibara1454/secure_shared_preferences/cipher/StringEncrypterTest.kt | ibara1454/secure-shared-preferences | b0173fe5fc802472e68634372fe2b94150a6101a | [
"MIT"
] | 2 | 2020-05-13T01:11:33.000Z | 2020-08-27T02:20:55.000Z | secure-shared-preferences/src/sharedTest/java/com/github/ibara1454/secure_shared_preferences/cipher/StringEncrypterTest.kt | ibara1454/secure-shared-preferences | b0173fe5fc802472e68634372fe2b94150a6101a | [
"MIT"
] | 5 | 2020-05-14T19:01:29.000Z | 2020-05-19T18:48:56.000Z | secure-shared-preferences/src/sharedTest/java/com/github/ibara1454/secure_shared_preferences/cipher/StringEncrypterTest.kt | ibara1454/secure-shared-preferences | b0173fe5fc802472e68634372fe2b94150a6101a | [
"MIT"
] | 1 | 2020-05-15T00:32:22.000Z | 2020-05-15T00:32:22.000Z | package com.github.ibara1454.secure_shared_preferences.cipher
import com.google.common.truth.Truth.assertThat
import org.junit.Test
class StringEncrypterTest {
@Test
fun test_primary_constructor_finished_without_exception() {
val byteArrayEncrypter = object : Encrypter<ByteArray> {
... | 26.59375 | 68 | 0.67215 |
e7531417036085ec09fb5980457107c3ef71cc83 | 329 | swift | Swift | validation-test/compiler_crashers_fixed/02044-swift-typechecker-typecheckpattern.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 10 | 2015-12-25T02:19:46.000Z | 2021-11-14T15:37:57.000Z | validation-test/compiler_crashers_fixed/02044-swift-typechecker-typecheckpattern.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 2 | 2016-02-01T08:51:00.000Z | 2017-04-07T09:04:30.000Z | validation-test/compiler_crashers_fixed/02044-swift-typechecker-typecheckpattern.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 3 | 2016-04-02T15:05:27.000Z | 2019-08-19T15:25:02.000Z | // RUN: not %target-swift-frontend %s -parse
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
func a() {
protocol a {
typealias e> Self {
}
func b, object2)
extension A {
}
typealias b where T> T
fun... | 20.5625 | 87 | 0.717325 |
9e54fd0c13898010bb962bba370a7616de9485ea | 932 | lua | Lua | spec/integration/admin_api/helpers.lua | ejoncas/kong | aa8812d43fe8eb8241e7a524f9ba33c86e206917 | [
"Apache-2.0"
] | 3 | 2016-06-27T15:50:58.000Z | 2018-03-21T07:38:22.000Z | spec/integration/admin_api/helpers.lua | ejoncas/kong | aa8812d43fe8eb8241e7a524f9ba33c86e206917 | [
"Apache-2.0"
] | null | null | null | spec/integration/admin_api/helpers.lua | ejoncas/kong | aa8812d43fe8eb8241e7a524f9ba33c86e206917 | [
"Apache-2.0"
] | 1 | 2018-12-26T20:57:12.000Z | 2018-12-26T20:57:12.000Z | local json = require "cjson"
local http_client = require "kong.tools.http_client"
local spec_helper = require "spec.spec_helpers"
local assert = require "luassert"
local function send_content_types(url, method, body, res_status, res_body, options)
if not options then options = {} end
local form_response, form_sta... | 27.411765 | 114 | 0.741416 |
2f627c7beec4f4e37d6ee3b778388acba30adc4d | 165 | php | PHP | src/hugocorp/contactBundle/Tests/Controller/FichierControllerTest.php | AshvinPainiaye/Gestion-Contact | e31c76f08782d4e9bb307d4366209bea9fe786f2 | [
"MIT"
] | null | null | null | src/hugocorp/contactBundle/Tests/Controller/FichierControllerTest.php | AshvinPainiaye/Gestion-Contact | e31c76f08782d4e9bb307d4366209bea9fe786f2 | [
"MIT"
] | null | null | null | src/hugocorp/contactBundle/Tests/Controller/FichierControllerTest.php | AshvinPainiaye/Gestion-Contact | e31c76f08782d4e9bb307d4366209bea9fe786f2 | [
"MIT"
] | null | null | null | <?php
namespace hugocorp\contactBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class FichierControllerTest extends WebTestCase
{
}
| 16.5 | 52 | 0.836364 |
0ff7fb54c50620f3394a91cfd2c24d22687d8cc2 | 1,731 | kt | Kotlin | app/src/main/java/io/github/bradpatras/bikeomaha/data/GeoJsonLayerFactory.kt | BradPatras/bike-omaha | 0519808ff6e0b468da1f423d83f22315c8e74b5e | [
"MIT"
] | null | null | null | app/src/main/java/io/github/bradpatras/bikeomaha/data/GeoJsonLayerFactory.kt | BradPatras/bike-omaha | 0519808ff6e0b468da1f423d83f22315c8e74b5e | [
"MIT"
] | 3 | 2021-01-16T01:24:43.000Z | 2021-01-17T01:47:00.000Z | app/src/main/java/io/github/bradpatras/bikeomaha/data/GeoJsonLayerFactory.kt | BradPatras/bike-omaha | 0519808ff6e0b468da1f423d83f22315c8e74b5e | [
"MIT"
] | null | null | null | package io.github.bradpatras.bikeomaha.data
import com.google.android.gms.maps.GoogleMap
import com.google.maps.android.collections.GroundOverlayManager
import com.google.maps.android.collections.MarkerManager
import com.google.maps.android.collections.PolygonManager
import com.google.maps.android.collections.Polyline... | 40.255814 | 97 | 0.76141 |
ddcf9d55148ff28b1cd203c8268b3de21d2396ec | 569 | go | Go | remote/entity.go | davinci26/falco | 4ba11e7d53f29482606a64a44994ec72fa894dd9 | [
"MIT"
] | 45 | 2021-07-06T09:48:22.000Z | 2022-03-31T01:34:32.000Z | remote/entity.go | davinci26/falco | 4ba11e7d53f29482606a64a44994ec72fa894dd9 | [
"MIT"
] | 15 | 2021-07-06T16:37:44.000Z | 2022-03-31T17:16:46.000Z | remote/entity.go | davinci26/falco | 4ba11e7d53f29482606a64a44994ec72fa894dd9 | [
"MIT"
] | 8 | 2021-07-06T14:36:57.000Z | 2022-03-21T12:06:10.000Z | package remote
type Version struct {
Number int64 `json:"number"`
}
type EdgeDictionary struct {
Id string `json:"id"`
Name string `json:"name"`
Items []*EdgeDictionaryItem
}
type EdgeDictionaryItem struct {
Key string `json:"item_key"`
Value string `json:"item_value"`
}
type AccessControl struct {
Id ... | 18.966667 | 33 | 0.6942 |
ddf168ffb1b1a134175fa190c7d65e00d954eb33 | 6,829 | h | C | System/Library/PrivateFrameworks/NewsTransport.framework/NTPBReadingHistoryItem.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | System/Library/PrivateFrameworks/NewsTransport.framework/NTPBReadingHistoryItem.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/NewsTransport.framework/NTPBReadingHistoryItem.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | /*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:37:49 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/NewsTranspo... | 48.091549 | 191 | 0.743008 |
bbc659a0c76f4b02ef5d7b19a51b3e9e08d82dce | 1,192 | rs | Rust | src/apis/emscripten/utils.rs | bjfish/wasmer | bb91006158c9ab79726738ebe65a24e8eb16e854 | [
"MIT"
] | null | null | null | src/apis/emscripten/utils.rs | bjfish/wasmer | bb91006158c9ab79726738ebe65a24e8eb16e854 | [
"MIT"
] | null | null | null | src/apis/emscripten/utils.rs | bjfish/wasmer | bb91006158c9ab79726738ebe65a24e8eb16e854 | [
"MIT"
] | null | null | null | use crate::webassembly::module::Module;
/// We check if a provided module is an Emscripten generated one
pub fn is_emscripten_module(module: &Module) -> bool {
for (module, _field) in &module.info.imported_funcs {
if module == "env" {
return true;
}
}
return false;
}
#[cfg(test... | 34.057143 | 99 | 0.692114 |
c36a7a90b104d3001efece4a34f42ceae3177389 | 3,462 | rs | Rust | src/cli_opt.rs | lo48576/burne | 160399bad1c5019cf564b0f4e022548e53d3ca37 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/cli_opt.rs | lo48576/burne | 160399bad1c5019cf564b0f4e022548e53d3ca37 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/cli_opt.rs | lo48576/burne | 160399bad1c5019cf564b0f4e022548e53d3ca37 | [
"Apache-2.0",
"MIT"
] | null | null | null | //! CLI options.
use std::env;
use std::ffi::OsString;
use std::fs;
use std::io;
#[cfg(unix)]
use std::path::PathBuf;
use anyhow::{bail, Context as _};
use clap::Clap;
use crate::renamer::{Escape, LineSeparator, RenameSetup, Renamer};
/// Renames child files in a directory using editor.
#[derive(Debug, Clone, Clap)... | 29.589744 | 99 | 0.56037 |
85ae3ffcf8ca8828b73d1970873b75d8543a692a | 3,095 | kt | Kotlin | app/src/main/kotlin/com/ashish/movieguide/ui/rated/movie/RatedMovieFragment.kt | AshishKayastha/Movies | f455e468b917491fd1e35b07f70e9e9e2d00649d | [
"Apache-2.0"
] | 19 | 2017-08-06T07:35:54.000Z | 2022-03-05T04:57:01.000Z | app/src/main/kotlin/com/ashish/movieguide/ui/rated/movie/RatedMovieFragment.kt | AshishKayastha/Movie-Guide | f455e468b917491fd1e35b07f70e9e9e2d00649d | [
"Apache-2.0"
] | 3 | 2018-02-22T03:16:27.000Z | 2020-08-21T00:40:41.000Z | app/src/main/kotlin/com/ashish/movieguide/ui/rated/movie/RatedMovieFragment.kt | AshishKayastha/Movies | f455e468b917491fd1e35b07f70e9e9e2d00649d | [
"Apache-2.0"
] | 10 | 2017-07-21T12:36:13.000Z | 2021-01-29T17:31:43.000Z | package com.ashish.movieguide.ui.rated.movie
import android.content.Intent
import android.os.Bundle
import android.view.View
import com.ashish.movieguide.R
import com.ashish.movieguide.data.models.Movie
import com.ashish.movieguide.di.modules.FragmentModule
import com.ashish.movieguide.di.multibindings.fragment.Fragme... | 38.6875 | 105 | 0.700162 |
ddf7e3f3a55befc782c3c80218c747b8a469594a | 326 | go | Go | server/model/request/err_warn.go | niejian/gin-vue-admin | 164c4cbc7a06a320767c9ad889c2f23e00297a2c | [
"Apache-2.0"
] | null | null | null | server/model/request/err_warn.go | niejian/gin-vue-admin | 164c4cbc7a06a320767c9ad889c2f23e00297a2c | [
"Apache-2.0"
] | null | null | null | server/model/request/err_warn.go | niejian/gin-vue-admin | 164c4cbc7a06a320767c9ad889c2f23e00297a2c | [
"Apache-2.0"
] | null | null | null | // request doc
package request
type ErrorWarnStruct struct {
IndexName string `json:"indexName"`
ToUserIds []string `json:"toUserIds"`
SendTime string `json:"sendTime"`
ChatId string `json:"chatId"`
ID int `json:"ID"`
GroupName string `json:"groupName"`
IsEnable int `json:"isEnabl... | 23.285714 | 38 | 0.659509 |
4895b3ed8ef8e1fd74bc3c05c4c832a4e2d056e0 | 673 | asm | Assembly | Library/User/Gen/genSummons.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Library/User/Gen/genSummons.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Library/User/Gen/genSummons.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: UserInterface/Gen
FILE: genSummonsClass.asm
ROUTINES:
Name Description
---- -----------
GLB GenSummonsClass Summons object
REVISION H... | 25.884615 | 81 | 0.509658 |
92f5b832ba1e2f3cf691b3dadaf4a6f6eff0879c | 1,407 | h | C | Cpp/SDK/IWidget_Interactable_parameters.h | MrManiak/Squad-SDK | 742feb5991ae43d6f0cedd2d6b32b949923ca4f9 | [
"Apache-2.0"
] | 1 | 2020-08-15T08:31:55.000Z | 2020-08-15T08:31:55.000Z | Cpp/SDK/IWidget_Interactable_parameters.h | MrManiak/Squad-SDK | 742feb5991ae43d6f0cedd2d6b32b949923ca4f9 | [
"Apache-2.0"
] | 2 | 2020-08-15T08:43:56.000Z | 2021-01-15T05:04:48.000Z | Cpp/SDK/IWidget_Interactable_parameters.h | MrManiak/Squad-SDK | 742feb5991ae43d6f0cedd2d6b32b949923ca4f9 | [
"Apache-2.0"
] | 2 | 2020-08-10T12:05:42.000Z | 2021-02-12T19:56:10.000Z | #pragma once
// Name: S, Version: b
#include "../SDK.h"
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
/*!!HELPER_DEF!!*/
/*!!DEFINE!!*/
namespace UFT
{
//---------------------------------------------------------------------------
// Parameters
//-----------------------------------------------------------------... | 31.977273 | 225 | 0.575693 |
93128e934b9ff4f4a78535222d4c77a0c431f03b | 629 | rs | Rust | phantomos-kernel/src/state.rs | PhantomOS/PhantomOS-Rust | ff1fb3db74db076e97c760dfc77e694d698c658d | [
"BSD-2-Clause-Patent"
] | 1 | 2022-03-06T04:33:27.000Z | 2022-03-06T04:33:27.000Z | phantomos-kernel/src/state.rs | PhantomOS/PhantomOS-Rust | ff1fb3db74db076e97c760dfc77e694d698c658d | [
"BSD-2-Clause-Patent"
] | null | null | null | phantomos-kernel/src/state.rs | PhantomOS/PhantomOS-Rust | ff1fb3db74db076e97c760dfc77e694d698c658d | [
"BSD-2-Clause-Patent"
] | null | null | null | #[cfg(target_arch = "x86_64")]
pub mod system {
use super::KernelState;
#[repr(C)]
pub struct SystemKernelState {
ss: u64,
rsp: u64,
}
pub fn get_kernel_state() -> &'static KernelState {
let mut ret: *const KernelState;
unsafe {
core::arch::asm!("lea {}, ... | 20.966667 | 59 | 0.594595 |
0cbd16de6a3b89e4146e58d8e4a4fcddb5bba48b | 7,173 | py | Python | src/mtweepy/__init__.py | Souvic/mtweepy | 26c5480aee1032a38335018efc66610b6960f7d4 | [
"MIT"
] | 1 | 2021-07-04T09:30:10.000Z | 2021-07-04T09:30:10.000Z | src/mtweepy/__init__.py | Souvic/mtweepy | 26c5480aee1032a38335018efc66610b6960f7d4 | [
"MIT"
] | null | null | null | src/mtweepy/__init__.py | Souvic/mtweepy | 26c5480aee1032a38335018efc66610b6960f7d4 | [
"MIT"
] | null | null | null | import json
import multiprocessing
import os
import requests
from requests_oauthlib import OAuth1
from time import sleep
import tweepy
def get_users_single(x,auth,output_folder):
while(True):
url=f"https://api.twitter.com/1.1/users/lookup.json?user_id={','.join([str(i) for i in x])}"
if(type... | 33.518692 | 196 | 0.539384 |
9e412215512c90bc4e978bea8116d88a8637a9ee | 155 | rs | Rust | src/test/ui/traits/auxiliary/trait_alias.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 66,762 | 2015-01-01T08:32:03.000Z | 2022-03-31T23:26:40.000Z | src/test/ui/traits/auxiliary/trait_alias.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 76,993 | 2015-01-01T00:06:33.000Z | 2022-03-31T23:59:15.000Z | src/test/ui/traits/auxiliary/trait_alias.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11,787 | 2015-01-01T00:01:19.000Z | 2022-03-31T19:03:42.000Z | #![feature(trait_alias)]
pub trait Hello {
fn hello(&self);
}
pub struct Hi;
impl Hello for Hi {
fn hello(&self) {}
}
pub trait Greet = Hello;
| 11.071429 | 24 | 0.619355 |