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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8b364961b1a2dc1e766af3840583a746bd49680c | 222 | swift | Swift | JPHacks_Hackamon_Brothers/JPHacks_Hackamon_Brothers/NotificationWithTool.swift | en-i/FK_1909 | 228d51074f5eceadae59a863d7e46f2e9e84fc63 | [
"MIT"
] | null | null | null | JPHacks_Hackamon_Brothers/JPHacks_Hackamon_Brothers/NotificationWithTool.swift | en-i/FK_1909 | 228d51074f5eceadae59a863d7e46f2e9e84fc63 | [
"MIT"
] | null | null | null | JPHacks_Hackamon_Brothers/JPHacks_Hackamon_Brothers/NotificationWithTool.swift | en-i/FK_1909 | 228d51074f5eceadae59a863d7e46f2e9e84fc63 | [
"MIT"
] | 1 | 2020-11-05T10:06:13.000Z | 2020-11-05T10:06:13.000Z | //
// NotificationWithTool.swift
// JPHacks_Hackamon_Brothers
//
// Created by 鈴木俊亮 on 2019/10/19.
// Copyright © 2019 藤山裕輝. All rights reserved.
//
import Foundation
class NotificationWithTool
{
// TODO Suzuki
}
| 14.8 | 47 | 0.711712 |
b53930e00b8e30d1a30458d8ec17684e16e3dbf7 | 1,507 | rs | Rust | cross-checks/rust-checks/backends/fakechecks-zstd/src/bin/printer.rs | sjvs/c2rust | 0eb7359b35f9159c446074748d9dbd09fb212ce9 | [
"BSD-3-Clause"
] | null | null | null | cross-checks/rust-checks/backends/fakechecks-zstd/src/bin/printer.rs | sjvs/c2rust | 0eb7359b35f9159c446074748d9dbd09fb212ce9 | [
"BSD-3-Clause"
] | null | null | null | cross-checks/rust-checks/backends/fakechecks-zstd/src/bin/printer.rs | sjvs/c2rust | 0eb7359b35f9159c446074748d9dbd09fb212ce9 | [
"BSD-3-Clause"
] | null | null | null | #![feature(int_to_from_bytes)]
extern crate zstd;
use std::fmt;
use std::fs::File;
use std::io;
use std::io::{Read, Write};
use std::env;
const BUF_SIZE: usize = 4 * 1024 * 1024; // 4MB buffer
const MAX_XCHECK_LEN: usize = 52;
pub fn main() -> Result<(), std::io::Error> {
let mut out = String::with_capacity(BUF... | 30.755102 | 93 | 0.480425 |
8567f6d7d465f74f2b389ee1a3af3783e28d85f5 | 1,729 | js | JavaScript | src/store/modules/dependencies/models.js | altest-com/siice-spa | 579b5711886367755d8fae44da24e7bda15a9406 | [
"MIT"
] | null | null | null | src/store/modules/dependencies/models.js | altest-com/siice-spa | 579b5711886367755d8fae44da24e7bda15a9406 | [
"MIT"
] | null | null | null | src/store/modules/dependencies/models.js | altest-com/siice-spa | 579b5711886367755d8fae44da24e7bda15a9406 | [
"MIT"
] | null | null | null | import { Model } from 'vrudex';
class DependencyModel extends Model {
props = {
id: {
writable: false,
api: 'id',
type: Number
},
name: {
writable: true,
api: 'name',
type: String
},
corporation: {
... | 21.345679 | 48 | 0.465009 |
1aedc086e927d6435e3304442fbc059ae3f14c95 | 306 | kt | Kotlin | libraries/server/src/main/java/com/chesire/nekome/server/api/UserApi.kt | mvvm-android/Nekome | a434618e0a27a16a4f292e34bb21465cf8895b9f | [
"Apache-2.0"
] | null | null | null | libraries/server/src/main/java/com/chesire/nekome/server/api/UserApi.kt | mvvm-android/Nekome | a434618e0a27a16a4f292e34bb21465cf8895b9f | [
"Apache-2.0"
] | null | null | null | libraries/server/src/main/java/com/chesire/nekome/server/api/UserApi.kt | mvvm-android/Nekome | a434618e0a27a16a4f292e34bb21465cf8895b9f | [
"Apache-2.0"
] | null | null | null | package com.chesire.nekome.server.api
import com.chesire.nekome.core.models.UserModel
import com.chesire.nekome.server.Resource
/**
* Methods relating to a users profile.
*/
interface UserApi {
/**
* Get all of the user details.
*/
suspend fun getUserDetails(): Resource<UserModel>
}
| 20.4 | 53 | 0.712418 |
166994c716ace56c40dd8932f12c7873b8921edf | 4,651 | c | C | mc/model/com.mentor.nucleus.bp.core/src416/ooaofooa_R_SUB_class.c | NDGuthrie/bposs | 2c47abf74a3e6fadb174b08e57aa66a209400606 | [
"Apache-2.0"
] | 1 | 2018-01-24T16:28:01.000Z | 2018-01-24T16:28:01.000Z | mc/model/com.mentor.nucleus.bp.core/src418/ooaofooa_R_SUB_class.c | NDGuthrie/bposs | 2c47abf74a3e6fadb174b08e57aa66a209400606 | [
"Apache-2.0"
] | null | null | null | mc/model/com.mentor.nucleus.bp.core/src418/ooaofooa_R_SUB_class.c | NDGuthrie/bposs | 2c47abf74a3e6fadb174b08e57aa66a209400606 | [
"Apache-2.0"
] | null | null | null | /*----------------------------------------------------------------------------
* File: ooaofooa_R_SUB_class.c
*
* Class: Class As Subtype (R_SUB)
* Component: ooaofooa
*
* your copyright statement can go here (from te_copyright.body)
*-------------------------------------------------------------... | 35.234848 | 180 | 0.71619 |
5f4cb6230c0a1bac52abb17c079a743c0d0f1a18 | 950 | ts | TypeScript | src/events/guildCreate.ts | alloha228/YellowBR | fff0570956ab58d18781e73a470b8d6a6657b3cc | [
"MIT"
] | null | null | null | src/events/guildCreate.ts | alloha228/YellowBR | fff0570956ab58d18781e73a470b8d6a6657b3cc | [
"MIT"
] | 1 | 2022-01-22T12:11:20.000Z | 2022-01-22T12:11:20.000Z | src/events/guildCreate.ts | alloha228/YellowBR | fff0570956ab58d18781e73a470b8d6a6657b3cc | [
"MIT"
] | null | null | null | import getEnv from '../utils/getEnv';
import Eris from 'eris';
import GuildService from '../services/GuildService';
const { PREMIUM_BOT_ID, PREMIUM_BOT, FOSS_MODE } = getEnv();
const regionRelation = {
brazil: 'pt_BR',
russia: 'ru_RU',
india: 'hi_IN',
};
const guildCreate = async (guild: Eris.Guild) => {
// ... | 27.142857 | 67 | 0.693684 |
3b4a8b22b5682fd7a99b77a7e3f4e2efa974fca8 | 221 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/mobile/vf_Done/exar_kun_intro_magnus_grenz.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/mobile/vf_Done/exar_kun_intro_magnus_grenz.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/mobile/vf_Done/exar_kun_intro_magnus_grenz.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_mobile_exar_kun_intro_magnus_grenz = object_mobile_shared_exar_kun_intro_magnus_grenz:new {
}
ObjectTemplates:addTemplate(object_mobile_exar_kun_intro_magnus_grenz, "object/mobile/exar_kun_intro_magnus_grenz.iff")
| 221 | 221 | 0.909502 |
710629fb5d41a0ef8d607f10b9a0244deac46ce4 | 725 | swift | Swift | Uncoolness/Uncoolness/AppDelegate.swift | AboutObjectsTraining/swift-comp-reston-2018-12 | a2ea22e61f31fbd09ff5b4bb882bedd8d92f7397 | [
"MIT"
] | null | null | null | Uncoolness/Uncoolness/AppDelegate.swift | AboutObjectsTraining/swift-comp-reston-2018-12 | a2ea22e61f31fbd09ff5b4bb882bedd8d92f7397 | [
"MIT"
] | null | null | null | Uncoolness/Uncoolness/AppDelegate.swift | AboutObjectsTraining/swift-comp-reston-2018-12 | a2ea22e61f31fbd09ff5b4bb882bedd8d92f7397 | [
"MIT"
] | 1 | 2019-03-05T18:18:32.000Z | 2019-03-05T18:18:32.000Z | // Created by Jonathan Lehr on 12/11/18.
// Copyright © 2018 About Objects. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate
{
var window: UIWindow?
func applicationDidFinishLaunching(_ application: UIApplication) {
window = UIWindow(f... | 30.208333 | 102 | 0.695172 |
65373505df666d8a906bfd1acd7f0539541bd3a0 | 940 | py | Python | model_agreement.py | ntunlp/coherence-paradigm | 7219fe5b57f5a44e780ca8ba5632194a68e07528 | [
"MIT"
] | null | null | null | model_agreement.py | ntunlp/coherence-paradigm | 7219fe5b57f5a44e780ca8ba5632194a68e07528 | [
"MIT"
] | null | null | null | model_agreement.py | ntunlp/coherence-paradigm | 7219fe5b57f5a44e780ca8ba5632194a68e07528 | [
"MIT"
] | null | null | null | import sys
import pickle
from krips_alpha import krippendorff_alpha, nominal_metric
def get_model_labels(model_output):
model_labels = []
for x in model_output:
try:
if x['pos_score'] > x['neg_score']:
model_labels.append('0')
elif x['neg_score'] > x['pos_score']:
model_labels.append('1')
else:
... | 24.102564 | 61 | 0.71383 |
7702543adac5ec672ebee6edafcfa2a0bad395e9 | 2,991 | rs | Rust | src/day_04_password.rs | lucis-fluxum/advent-of-code | 9b69119ae875525423076369ae8b4b8a578ef43e | [
"MIT"
] | null | null | null | src/day_04_password.rs | lucis-fluxum/advent-of-code | 9b69119ae875525423076369ae8b4b8a578ef43e | [
"MIT"
] | null | null | null | src/day_04_password.rs | lucis-fluxum/advent-of-code | 9b69119ae875525423076369ae8b4b8a578ef43e | [
"MIT"
] | null | null | null | use std::fs::read_to_string;
use itertools::Itertools;
use rayon::prelude::*;
fn get_input() -> Vec<u32> {
let contents = read_to_string("src/day_04_password/input.txt").unwrap();
let bounds: Vec<&str> = contents.trim().split('-').collect();
let lower_bound = bounds[0].parse::<u32>().unwrap();
let upp... | 28.216981 | 98 | 0.626881 |
70fdd07df75b9a255968faad5157576fa458e398 | 255 | sql | SQL | store/postgres/migrations/2020-04-10-111111_add_deployment_errors/down.sql | Tumble17/graph-node | a4315a33652391f453031a5412b6c51ba4ce084c | [
"Apache-2.0",
"MIT"
] | 1,811 | 2018-08-01T00:52:11.000Z | 2022-03-31T17:56:57.000Z | store/postgres/migrations/2020-04-10-111111_add_deployment_errors/down.sql | Tumble17/graph-node | a4315a33652391f453031a5412b6c51ba4ce084c | [
"Apache-2.0",
"MIT"
] | 1,978 | 2018-08-01T17:00:43.000Z | 2022-03-31T23:59:29.000Z | store/postgres/migrations/2020-04-10-111111_add_deployment_errors/down.sql | Tumble17/graph-node | a4315a33652391f453031a5412b6c51ba4ce084c | [
"Apache-2.0",
"MIT"
] | 516 | 2018-08-01T05:26:27.000Z | 2022-03-31T14:04:19.000Z | alter table subgraphs.subgraph_deployment drop column health;
alter table subgraphs.subgraph_deployment drop column fatal_error;
alter table subgraphs.subgraph_deployment drop column non_fatal_errors;
drop type subgraph_health;
drop table subgraph_error;
| 42.5 | 71 | 0.87451 |
abbd538fe573a91a33925977e72eabe2a26dea93 | 9,658 | rb | Ruby | WindowSize.rb | cacao-soft/RMVX | 2bded361ea45faf8a60420377e3271ab753c2315 | [
"MIT"
] | null | null | null | WindowSize.rb | cacao-soft/RMVX | 2bded361ea45faf8a60420377e3271ab753c2315 | [
"MIT"
] | null | null | null | WindowSize.rb | cacao-soft/RMVX | 2bded361ea45faf8a60420377e3271ab753c2315 | [
"MIT"
] | null | null | null | #=============================================================================
# [RGSS2] エセフルスクリーン - v1.0.0
# ---------------------------------------------------------------------------
# Copyright (c) 2021 CACAO
# Released under the MIT License.
# https://opensource.org/licenses/mit-license.php
# -----------------... | 36.445283 | 79 | 0.372437 |
d9296165627e20e922d4f63833ab99afa8f2dc0e | 13,635 | rs | Rust | tests/guard.rs | TotalKrill/rocket_cors | bf4f91abec0e3fb38b78cf57b93c657071384135 | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/guard.rs | TotalKrill/rocket_cors | bf4f91abec0e3fb38b78cf57b93c657071384135 | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/guard.rs | TotalKrill/rocket_cors | bf4f91abec0e3fb38b78cf57b93c657071384135 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-08-29T14:47:53.000Z | 2020-08-29T14:47:53.000Z | //! This crate tests using `rocket_cors` using the per-route handling with request guard
#![feature(proc_macro_hygiene, decl_macro)]
use hyper;
use rocket_cors as cors;
use std::str::FromStr;
use rocket::http::Method;
use rocket::http::{Header, Status};
use rocket::local::Client;
use rocket::response::Body;
use rocke... | 32.387173 | 99 | 0.641878 |
76fb0cd0d2904dc2670f89b3b4989732242d5be7 | 7,939 | h | C | ble-mesh-model/include/mmdl_gen_powonoff_cl_api.h | lonesomebyte537/cordio | c0db6dc27d1931feafa7f8db018cd9095416f978 | [
"Apache-2.0"
] | 1 | 2022-02-15T03:51:14.000Z | 2022-02-15T03:51:14.000Z | ble-mesh-model/include/mmdl_gen_powonoff_cl_api.h | lonesomebyte537/cordio | c0db6dc27d1931feafa7f8db018cd9095416f978 | [
"Apache-2.0"
] | null | null | null | ble-mesh-model/include/mmdl_gen_powonoff_cl_api.h | lonesomebyte537/cordio | c0db6dc27d1931feafa7f8db018cd9095416f978 | [
"Apache-2.0"
] | 2 | 2022-01-21T08:00:37.000Z | 2022-02-15T03:51:23.000Z | /*************************************************************************************************/
/*!
* \file
*
* \brief Generic Power On Off Client Model API.
*
* Copyright (c) 2010-2019 Arm Ltd.
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"... | 43.146739 | 99 | 0.465046 |
8a89a9fa9d50956448e776c26c4774d3e6d335f0 | 4,396 | rs | Rust | src/ports.rs | DmitryAstafyev/clibri.transport.rust.server | 3b86c86c19aa62bab504a3d2c31a3ee6a5362500 | [
"Apache-2.0"
] | null | null | null | src/ports.rs | DmitryAstafyev/clibri.transport.rust.server | 3b86c86c19aa62bab504a3d2c31a3ee6a5362500 | [
"Apache-2.0"
] | null | null | null | src/ports.rs | DmitryAstafyev/clibri.transport.rust.server | 3b86c86c19aa62bab504a3d2c31a3ee6a5362500 | [
"Apache-2.0"
] | null | null | null | use crate::{errors::Error, options::Ports as PortsSource};
use clibri::env::logs;
use log::info;
use std::{collections::HashMap, time::Instant};
use tokio_util::sync::CancellationToken;
const VALID_KEEP_OPEN_DURATION_MS: u128 = 3 * 1000;
pub struct Ports {
source: Option<PortsSource>,
per_port: Option<u32>,
... | 32.087591 | 90 | 0.451092 |
1fce6f409a9e1481dd75d96b3e54fec034b1d283 | 3,562 | css | CSS | public/FrontEnd/Css/cart_arithmeticPatternsAndProblemSolving.css | imgauravsharma4/Alba_educations | 6b4177cd48e2f69ac929145ad8eb51ba2493496a | [
"MIT"
] | null | null | null | public/FrontEnd/Css/cart_arithmeticPatternsAndProblemSolving.css | imgauravsharma4/Alba_educations | 6b4177cd48e2f69ac929145ad8eb51ba2493496a | [
"MIT"
] | null | null | null | public/FrontEnd/Css/cart_arithmeticPatternsAndProblemSolving.css | imgauravsharma4/Alba_educations | 6b4177cd48e2f69ac929145ad8eb51ba2493496a | [
"MIT"
] | 1 | 2022-02-27T17:51:01.000Z | 2022-02-27T17:51:01.000Z | .gallery-images{
border: 1px solid #f2f2f2;
}
.gallery-images img{
width: 100%;
}
.product-summary{
padding-left: 40px;
}
.product-summary h3 {
display: block;
font-size: 24px;
font-weight: 800;
position: relative;
margin-bottom: 15px;
}
.product-meta {
margin-top: 20px;
}
.pro... | 16.961905 | 126 | 0.621842 |
5763cc910b00263a9f9ccdfc17c453e071ceecf0 | 371 | h | C | drivers/Trace.h | nscooling/cpp_arm_test | aa6473ad0f4537faa8ef49bd03f85a85739de28f | [
"MIT"
] | null | null | null | drivers/Trace.h | nscooling/cpp_arm_test | aa6473ad0f4537faa8ef49bd03f85a85739de28f | [
"MIT"
] | null | null | null | drivers/Trace.h | nscooling/cpp_arm_test | aa6473ad0f4537faa8ef49bd03f85a85739de28f | [
"MIT"
] | null | null | null | #ifndef TRACE_H_
#define TRACE_H_
#ifdef TRACE_ENABLED
#include <iostream>
#define TRACE_MSG(msg) std::clog << "DEBUG: " << msg << std::endl
#define TRACE_VALUE(variable) \
std::clog << "DEBUG: " << #variable << " : " << variable << std::endl
#else
#define TRACE_MSG... | 21.823529 | 80 | 0.587601 |
78c450799eabc868cec917f6440969f1fb896a4a | 405 | asm | Assembly | src/drivers/keyboard/keyboard.asm | DreamPearl/FuzzyOS | e287bf139511b59abe9e2a0e7ce49444c6a5299e | [
"Apache-2.0"
] | 10 | 2021-03-04T18:48:29.000Z | 2022-03-10T19:07:54.000Z | src/drivers/keyboard/keyboard.asm | DreamPearl/FuzzyOS | e287bf139511b59abe9e2a0e7ce49444c6a5299e | [
"Apache-2.0"
] | 7 | 2020-06-27T13:13:08.000Z | 2021-10-17T17:09:40.000Z | src/drivers/keyboard/keyboard.asm | DreamPearl/FuzzyOS | e287bf139511b59abe9e2a0e7ce49444c6a5299e | [
"Apache-2.0"
] | 1 | 2022-02-10T20:09:01.000Z | 2022-02-10T20:09:01.000Z | [BITS 32]
global port_write
global port_read
[SECTION .text]
port_write:
push ebp
mov ebp, esp
mov al, [ebp + 0xc] ; value
mov dx, [ebp + 0x8] ; port
out dx, al
pop ebp
ret
port_read:
push ebp
mov ebp, esp
mov dx, [ebp ... | 14.464286 | 38 | 0.459259 |
afeb0c820e9ecdade109cddffa659a1c404e6e73 | 5,010 | rb | Ruby | examples/rlgl_compute_shader.rb | vaiorabbit/raylib-bindings | 36396b932e3444ab03f242e400ed77cc2c4dfcd4 | [
"Zlib"
] | 1 | 2022-01-16T07:16:16.000Z | 2022-01-16T07:16:16.000Z | examples/rlgl_compute_shader.rb | vaiorabbit/raylib-bindings | 36396b932e3444ab03f242e400ed77cc2c4dfcd4 | [
"Zlib"
] | 2 | 2022-01-14T07:48:18.000Z | 2022-01-20T21:08:33.000Z | examples/rlgl_compute_shader.rb | vaiorabbit/raylib-bindings | 36396b932e3444ab03f242e400ed77cc2c4dfcd4 | [
"Zlib"
] | null | null | null | require_relative 'util/setup_dll'
require_relative 'util/resource_path'
# [NOTE] This sample requires:
# - Windows OS
# - OpenGL 4.3 capable GPU
# - libraylib.dll built with 'GRAPHICS=GRAPHICS_API_OPENGL_43'
if __FILE__ == $PROGRAM_NAME
# IMPORTANT: This must match gol*.glsl GOL_WIDTH constant.
# This must be a ... | 35.034965 | 141 | 0.737126 |
ace18e3c15bd25f101a3da56301db0f5af5a5ff6 | 1,241 | kt | Kotlin | livingdoc-converters/src/main/kotlin/org/livingdoc/converters/collection/MapConverter.kt | pkleimann/livingdoc | 02be0744f2f7c0cdb9ab01dec0413280124d5fe3 | [
"Apache-2.0"
] | 9 | 2018-06-19T03:42:02.000Z | 2021-06-24T14:15:11.000Z | livingdoc-converters/src/main/kotlin/org/livingdoc/converters/collection/MapConverter.kt | pkleimann/livingdoc | 02be0744f2f7c0cdb9ab01dec0413280124d5fe3 | [
"Apache-2.0"
] | 53 | 2017-04-12T14:43:09.000Z | 2017-08-18T14:24:57.000Z | livingdoc-converters/src/main/kotlin/org/livingdoc/converters/collection/MapConverter.kt | pkleimann/livingdoc | 02be0744f2f7c0cdb9ab01dec0413280124d5fe3 | [
"Apache-2.0"
] | 9 | 2017-04-11T19:37:53.000Z | 2017-08-11T12:39:53.000Z | package org.livingdoc.converters.collection
import java.lang.reflect.AnnotatedElement
import org.livingdoc.api.conversion.ConversionException
import org.livingdoc.api.conversion.TypeConverter
import org.livingdoc.converters.TypeConverters.findTypeConverterForGenericElement
import org.livingdoc.converters.collection.To... | 44.321429 | 109 | 0.756648 |
5826b23b1035ff033291d28e37ec5f6ccf7c2e48 | 6,467 | c | C | pyscf/lib/ri/r_df_incore.c | nmardirossian/pyscf | 57c8912dcfcc1157a822feede63df54ed1067115 | [
"BSD-2-Clause"
] | 1 | 2018-05-02T19:55:30.000Z | 2018-05-02T19:55:30.000Z | pyscf/lib/ri/r_df_incore.c | nmardirossian/pyscf | 57c8912dcfcc1157a822feede63df54ed1067115 | [
"BSD-2-Clause"
] | null | null | null | pyscf/lib/ri/r_df_incore.c | nmardirossian/pyscf | 57c8912dcfcc1157a822feede63df54ed1067115 | [
"BSD-2-Clause"
] | 1 | 2018-12-06T03:10:50.000Z | 2018-12-06T03:10:50.000Z | /*
* Author: Qiming Sun <osirpt.sun@gmail.com>
*/
#include <stdlib.h>
#include <assert.h>
#include <complex.h>
//#include <omp.h>
#include "config.h"
#include "cint.h"
#include "vhf/fblas.h"
#include "vhf/nr_direct.h"
#include "np_helper/np_helper.h"
#include "ao2mo/r_ao2mo.h"
void zhemm_(const char*, const char*,
... | 31.546341 | 81 | 0.510747 |
743529292c3b7a8af2546f8aeaa9e794e692c7eb | 838 | h | C | ComputeGraphModule/inputframestream.h | Rubius/Caboodle | 75b267208a124a7e372b1d704fcae3699cf4ed43 | [
"MIT"
] | null | null | null | ComputeGraphModule/inputframestream.h | Rubius/Caboodle | 75b267208a124a7e372b1d704fcae3699cf4ed43 | [
"MIT"
] | null | null | null | ComputeGraphModule/inputframestream.h | Rubius/Caboodle | 75b267208a124a7e372b1d704fcae3699cf4ed43 | [
"MIT"
] | 1 | 2020-07-27T02:23:38.000Z | 2020-07-27T02:23:38.000Z | #ifndef INPUTFRAMESTREAM_H
#define INPUTFRAMESTREAM_H
#include <SharedModule/internal.hpp>
class QFile;
namespace cv {
class Mat;
}
class InputFrameStream
{
public:
InputFrameStream(quint32 outputsCount);
~InputFrameStream();
void MoveToThread(QThread* thread);
void SetFileName(const QString& n... | 19.952381 | 48 | 0.710024 |
c3629ad070876a3613e0f791655cf8212e27f6ce | 1,508 | go | Go | tracker.go | die-net/dhtproxy | 0e13123cfdd963f0e6121401d1d00de24efbdaed | [
"Apache-2.0"
] | 14 | 2016-06-01T03:08:00.000Z | 2021-03-16T06:46:48.000Z | tracker.go | die-net/dhtproxy | 0e13123cfdd963f0e6121401d1d00de24efbdaed | [
"Apache-2.0"
] | 3 | 2016-11-17T13:28:13.000Z | 2021-09-07T16:35:53.000Z | tracker.go | die-net/dhtproxy | 0e13123cfdd963f0e6121401d1d00de24efbdaed | [
"Apache-2.0"
] | 6 | 2017-02-13T20:21:22.000Z | 2021-09-20T06:36:37.000Z | package main
import (
"net/http"
"strings"
"time"
bencode "github.com/jackpal/bencode-go"
"github.com/nictuku/dht"
)
type TrackerResponse struct {
Interval int64 "interval" //nolint:govet // Bencode-go uses non-comformant struct tags
MinInterval int64 "min interval" //nolint:govet // Bencode-go uses ... | 24.721311 | 95 | 0.677719 |
20c65af76cedbb281df66ca1601591f20436faeb | 1,130 | css | CSS | desafio_01/src/css/pesquisa.css | edniltonmatos/desafios-codelandia | 105d8196c174536ff380688a750a1cd2c61f9219 | [
"MIT"
] | 1 | 2022-03-26T20:32:49.000Z | 2022-03-26T20:32:49.000Z | desafio_01/src/css/pesquisa.css | edniltonmatos/desafios-codelandia | 105d8196c174536ff380688a750a1cd2c61f9219 | [
"MIT"
] | null | null | null | desafio_01/src/css/pesquisa.css | edniltonmatos/desafios-codelandia | 105d8196c174536ff380688a750a1cd2c61f9219 | [
"MIT"
] | null | null | null | @import url(./global.css);
header{
background: var(--gradient-default);
padding: 2.5rem 0;
}
header > section div:nth-child(1){
display: flex;
justify-content: space-between;
margin-bottom: 5rem;
}
header > section div:nth-child(2){
background-color: var(--light-tranparent);
display: flex;
... | 21.730769 | 52 | 0.611504 |
33920841ba8c1c09bc215e9848f8c8f5fe4c4dd4 | 136 | sql | SQL | sql/get_char_items.sql | Tym17/SymbiozUtils | ba77b9e7fbfa1623fa754f499d6a6eb5d31582b5 | [
"MIT"
] | null | null | null | sql/get_char_items.sql | Tym17/SymbiozUtils | ba77b9e7fbfa1623fa754f499d6a6eb5d31582b5 | [
"MIT"
] | null | null | null | sql/get_char_items.sql | Tym17/SymbiozUtils | ba77b9e7fbfa1623fa754f499d6a6eb5d31582b5 | [
"MIT"
] | null | null | null | SELECT ci.UId,
i.Name
FROM charactersitems ci
LEFT JOIN items i
ON ci.Gid = i.Id
WHERE ci.CharacterId = ?
AND i.TypeId in (?); | 19.428571 | 24 | 0.669118 |
dfbae014c6d4de859a9f81ff98144fa95f62c03e | 5,677 | tsx | TypeScript | src/views/modals/ExampleFormModal.tsx | codeBelt/typescript-hapi-react-hot-loader-example | c9910c58efc4885de56e2e4dbfbc4674eeca6cdc | [
"MIT"
] | 50 | 2017-08-28T17:48:05.000Z | 2020-02-14T13:10:35.000Z | src/views/modals/ExampleFormModal.tsx | codeBelt/typescript-hapi-react-hot-loader-example | c9910c58efc4885de56e2e4dbfbc4674eeca6cdc | [
"MIT"
] | 16 | 2017-08-28T18:57:03.000Z | 2021-10-05T20:44:25.000Z | src/views/modals/ExampleFormModal.tsx | codeBelt/typescript-hapi-react-hot-loader-example | c9910c58efc4885de56e2e4dbfbc4674eeca6cdc | [
"MIT"
] | 7 | 2017-09-18T14:45:06.000Z | 2020-09-25T12:05:54.000Z | import * as React from 'react';
import {form2js} from 'form2js';
import InputField from '../components/InputField';
import {connect} from 'react-redux';
import IAction from '../../stores/IAction';
import IStore from '../../stores/IStore';
import {Dispatch} from 'redux';
import ModalAction from '../../stores/modal/Modal... | 36.159236 | 227 | 0.454113 |
0a26c7ce3503f4d70492e0ffefe75e53f5a03acd | 880 | ts | TypeScript | src/common/components/cart-item-addition/cart-item-addition.component.ts | hungtruongquoc/udacity-store-front | d722bfce51d0fb594ac96dc2ddd98d84e67cff41 | [
"MIT"
] | null | null | null | src/common/components/cart-item-addition/cart-item-addition.component.ts | hungtruongquoc/udacity-store-front | d722bfce51d0fb594ac96dc2ddd98d84e67cff41 | [
"MIT"
] | null | null | null | src/common/components/cart-item-addition/cart-item-addition.component.ts | hungtruongquoc/udacity-store-front | d722bfce51d0fb594ac96dc2ddd98d84e67cff41 | [
"MIT"
] | null | null | null | import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
@Component({
selector: 'app-cart-item-addition',
templateUrl: './cart-item-addition.component.html',
styleUrls: ['./cart-item-addition.component.scss']
})
export class CartItemAdditionComponent implements OnInit {
@Input()
showBut... | 22.564103 | 83 | 0.688636 |
b99351bfeeb42e8d1436c3da5d04cfcea700438c | 3,216 | h | C | ivan_original/include/find_oc_adapt.h | stevenglasford/Seminar_NDSU_2020 | 3bc778185ac40a92913c091e2e717434cbf17b31 | [
"Apache-2.0"
] | null | null | null | ivan_original/include/find_oc_adapt.h | stevenglasford/Seminar_NDSU_2020 | 3bc778185ac40a92913c091e2e717434cbf17b31 | [
"Apache-2.0"
] | null | null | null | ivan_original/include/find_oc_adapt.h | stevenglasford/Seminar_NDSU_2020 | 3bc778185ac40a92913c091e2e717434cbf17b31 | [
"Apache-2.0"
] | null | null | null | /*
* Fichier utilisateur associe a la fonction de calcul de la trajectoire optimale avec un pas adaptatif
*
* Ce fichier contient deux fonctions :
* -une implementation de la fontion de recherche de contrôle optimal, find_optimal_control_adapt()
* -une adaptation de l'integrateur de Heun pour plusieurs pas
*... | 24.363636 | 118 | 0.631219 |
cd23516969e53cf4e332b54349522ea68f72041e | 2,884 | kt | Kotlin | app/src/main/java/org/panta/misskey_for_android_v2/adapter/NotificationViewHolder.kt | Kinoshita0623/Misskey_for_Android_v2 | 7d387d90ac0d4b4e44d8792710b9a0394b6128aa | [
"Apache-2.0"
] | 3 | 2019-05-01T15:34:17.000Z | 2019-05-06T15:28:14.000Z | app/src/main/java/org/panta/misskey_for_android_v2/adapter/NotificationViewHolder.kt | Kinoshita0623/Misskey-for-Android | 7d387d90ac0d4b4e44d8792710b9a0394b6128aa | [
"Apache-2.0"
] | null | null | null | app/src/main/java/org/panta/misskey_for_android_v2/adapter/NotificationViewHolder.kt | Kinoshita0623/Misskey-for-Android | 7d387d90ac0d4b4e44d8792710b9a0394b6128aa | [
"Apache-2.0"
] | null | null | null | package org.panta.misskey_for_android_v2.adapter
import android.support.v7.widget.RecyclerView
import android.view.View
import android.widget.ImageView
import com.squareup.picasso.Picasso
import kotlinx.android.synthetic.main.item_notification.view.*
import org.panta.misskey_for_android_v2.R
import org.panta.misskey_f... | 47.278689 | 105 | 0.720527 |
21e2f1b5fd5a7a52aa6ff4996210bbc8214c01e4 | 1,014 | html | HTML | manuscript/page-810/body.html | marvindanig/the-beautiful-and-the-damned | fb6b53f735cb001c480264823c215688fb9ceb11 | [
"CECILL-B"
] | null | null | null | manuscript/page-810/body.html | marvindanig/the-beautiful-and-the-damned | fb6b53f735cb001c480264823c215688fb9ceb11 | [
"CECILL-B"
] | null | null | null | manuscript/page-810/body.html | marvindanig/the-beautiful-and-the-damned | fb6b53f735cb001c480264823c215688fb9ceb11 | [
"CECILL-B"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p> At high school she had enjoyed a rather unsavory reputation. As a matter of fact her behavior at the class picnic, where the rumors started, had been merely indiscreet—she had retained her technical purity until over a year later. The boy had been a clerk in a... | 1,014 | 1,014 | 0.789941 |
39c67ae9679a204f343ccb7842ad1eaa51df6fa1 | 6,531 | js | JavaScript | src/rss.js | hebcal/hebcal-rest-api | 4eb07050c7f252c294fd611567bfac33b59673ab | [
"BSD-2-Clause"
] | 5 | 2020-08-28T22:33:07.000Z | 2022-03-31T18:59:45.000Z | src/rss.js | hebcal/hebcal-rest-api | 4eb07050c7f252c294fd611567bfac33b59673ab | [
"BSD-2-Clause"
] | 105 | 2021-07-15T19:19:00.000Z | 2022-03-24T20:01:56.000Z | src/rss.js | hebcal/hebcal-rest-api | 4eb07050c7f252c294fd611567bfac33b59673ab | [
"BSD-2-Clause"
] | null | null | null | import {getEventCategories, makeAnchor, appendIsraelAndTracking,
makeTorahMemoText, getCalendarTitle} from './common';
import {Locale, HebrewCalendar, Zmanim, flags} from '@hebcal/core';
import holidayDescription from './holidays.json';
/**
* @private
* @param {Event} ev
* @param {boolean} il
* @param {string} t... | 32.172414 | 113 | 0.657786 |
7076d42073e61e2752b2a3cda34fa6297ecf2d1a | 1,165 | c | C | voxen/stream.c | mafiosso/voxen | d0368bbfe3cf2134253480c362a313e258cf4fec | [
"MIT"
] | 2 | 2018-06-24T09:28:00.000Z | 2020-11-24T12:09:28.000Z | voxen/stream.c | mafiosso/voxen | d0368bbfe3cf2134253480c362a313e258cf4fec | [
"MIT"
] | null | null | null | voxen/stream.c | mafiosso/voxen | d0368bbfe3cf2134253480c362a313e258cf4fec | [
"MIT"
] | 1 | 2021-06-30T10:27:56.000Z | 2021-06-30T10:27:56.000Z | #include "VX_lib.h"
#include "stream.h"
VX_promise * VX_promise_new( void (*func) , void * user_args )
{
VX_promise * out = malloc(sizeof(VX_promise));
*out = (VX_promise){ func , user_args };
return out;
}
static void s_call( VX_stream * self , void * shared_args , void * ret )
{
int i = self->stack... | 24.270833 | 79 | 0.6 |
e9091bdeeaa1bacb84752b67f3ed1bbd23ec20dc | 931 | rb | Ruby | app/models/user.rb | victorzottmann/steamdeck | a925baf82517bc8e6d67571c5a363925a8ddfb15 | [
"Ruby"
] | null | null | null | app/models/user.rb | victorzottmann/steamdeck | a925baf82517bc8e6d67571c5a363925a8ddfb15 | [
"Ruby"
] | null | null | null | app/models/user.rb | victorzottmann/steamdeck | a925baf82517bc8e6d67571c5a363925a8ddfb15 | [
"Ruby"
] | null | null | null | class User < ApplicationRecord
rolify
has_many :books, dependent: :destroy
has_many :rentals
has_one_attached :profile_picture
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
devise :database_authenticatable, :registerable,
... | 46.55 | 115 | 0.692803 |
6e329968836730959d3b28a544f45dfc551c44d7 | 14,894 | html | HTML | talks.html | eholmbeck/eholmbeck.github.io | 08e6a2b761240add3aa93ec7a6596dd20e26ef43 | [
"CC-BY-3.0"
] | null | null | null | talks.html | eholmbeck/eholmbeck.github.io | 08e6a2b761240add3aa93ec7a6596dd20e26ef43 | [
"CC-BY-3.0"
] | null | null | null | talks.html | eholmbeck/eholmbeck.github.io | 08e6a2b761240add3aa93ec7a6596dd20e26ef43 | [
"CC-BY-3.0"
] | null | null | null | <!DOCTYPE HTML>
<!--
Massively by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Talks</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scal... | 55.36803 | 249 | 0.623204 |
4747823f49474dae697dc821577de021add98227 | 4,240 | html | HTML | client/index.html | adamsteinert/remoteHaven | 95bdfc4f5179e5973eac97a88ba53520da041d69 | [
"MIT"
] | 1 | 2020-05-22T06:03:44.000Z | 2020-05-22T06:03:44.000Z | client/index.html | adamsteinert/remoteHaven | 95bdfc4f5179e5973eac97a88ba53520da041d69 | [
"MIT"
] | 2 | 2020-04-09T18:27:09.000Z | 2020-04-15T22:51:34.000Z | client/index.html | adamsteinert/remoteHaven | 95bdfc4f5179e5973eac97a88ba53520da041d69 | [
"MIT"
] | null | null | null | <!-- ./client/index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title>
</head>
<style>
canvas {
backg... | 31.176471 | 126 | 0.461557 |
c01702a17ea0bac6932175aa1b78bf507ba018df | 759 | asm | Assembly | programs/oeis/302/A302588.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/302/A302588.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/302/A302588.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A302588: a(n) = a(n-3) + 7*(n-2), a(0)=1, a(1)=2, a(2)=4.
; 1,2,4,8,16,25,36,51,67,85,107,130,155,184,214,246,282,319,358,401,445,491,541,592,645,702,760,820,884,949,1016,1087,1159,1233,1311,1390,1471,1556,1642,1730,1822,1915,2010
mov $12,$0
mov $14,$0
add $14,1
lpb $14,1
clr $0,12
mov $0,$12
sub $14,1
sub $... | 17.25 | 172 | 0.478261 |
0cbd7b1b3648a635297e6eb2447f59f26aa10163 | 49,924 | py | Python | pyUSID/io/hdf_utils/model.py | rajgiriUW/pyUSID | 064dcd81d9c42f4eb4782f0a41fd437b3f56f50c | [
"MIT"
] | 25 | 2018-07-11T21:43:56.000Z | 2021-11-17T11:40:00.000Z | pyUSID/io/hdf_utils/model.py | rajgiriUW/pyUSID | 064dcd81d9c42f4eb4782f0a41fd437b3f56f50c | [
"MIT"
] | 62 | 2018-07-05T20:28:52.000Z | 2021-12-14T09:49:35.000Z | pyUSID/io/hdf_utils/model.py | rajgiriUW/pyUSID | 064dcd81d9c42f4eb4782f0a41fd437b3f56f50c | [
"MIT"
] | 15 | 2019-03-27T22:28:47.000Z | 2021-01-03T20:23:42.000Z | # -*- coding: utf-8 -*-
"""
Utilities for reading and writing USID datasets that are highly model-dependent (with or without N-dimensional form)
Created on Tue Nov 3 21:14:25 2015
@author: Suhas Somnath, Chris Smith
"""
from __future__ import division, print_function, absolute_import, unicode_literals
from warnings ... | 45.303085 | 223 | 0.640834 |
b5558a699eab00ef65abc6b29a475f81abbddaa3 | 196 | kt | Kotlin | src/main/kotlin/com/github/rinacm/sayaka/common/message/error/TranslationException.kt | Rinacm/sayaka | f27998445fafc1cf0ee66fef2b8abc7a95efecca | [
"MIT"
] | 2 | 2020-09-29T03:08:17.000Z | 2020-09-30T22:01:05.000Z | src/main/kotlin/com/github/rinacm/sayaka/common/message/error/TranslationException.kt | Rinacm/sayaka | f27998445fafc1cf0ee66fef2b8abc7a95efecca | [
"MIT"
] | null | null | null | src/main/kotlin/com/github/rinacm/sayaka/common/message/error/TranslationException.kt | Rinacm/sayaka | f27998445fafc1cf0ee66fef2b8abc7a95efecca | [
"MIT"
] | null | null | null | package com.github.rinacm.sayaka.common.message.error
class TranslationException(cause: Exception) : PipelineException(cause) {
override val errorStage: ErrorStage = ErrorStage.TRANSLATION
}
| 32.666667 | 73 | 0.811224 |
fd93c05aa784c7ae38b086a7daf899940ccd7f93 | 139 | c | C | repository/linux/test393.c | ProgramRepair/SearchRepair | 10ce5c53afa0d287d52e821bc2abfad774b63d26 | [
"MIT"
] | 22 | 2016-02-03T21:49:53.000Z | 2021-12-21T19:18:13.000Z | repository/linux/test393.c | ProgramRepair/SearchRepair | 10ce5c53afa0d287d52e821bc2abfad774b63d26 | [
"MIT"
] | 3 | 2015-10-30T22:17:08.000Z | 2019-03-13T15:56:38.000Z | repository/linux/test393.c | ProgramRepair/SearchRepair | 10ce5c53afa0d287d52e821bc2abfad774b63d26 | [
"MIT"
] | 6 | 2015-11-12T16:57:02.000Z | 2019-08-07T10:27:11.000Z | void test(int error, int io, int BIO_UPTODATE){
if ( error ) clear_bit ( BIO_UPTODATE , io - > bi_flags ) ; } | 69.5 | 91 | 0.532374 |
0cc30cfdf180329d599ca631c45ea9d3d82bf57e | 81 | sql | SQL | resources/sql/autopatches/20140416.harbor.1.sql | Rob--W/phabricator | 8272f3f7fa92179931a2fc7ca33909492cfc644d | [
"Apache-2.0"
] | 8,840 | 2015-01-02T03:04:43.000Z | 2022-03-29T05:24:18.000Z | resources/sql/autopatches/20140416.harbor.1.sql | Rob--W/phabricator | 8272f3f7fa92179931a2fc7ca33909492cfc644d | [
"Apache-2.0"
] | 73 | 2015-01-06T11:05:32.000Z | 2021-12-02T17:50:10.000Z | resources/sql/autopatches/20140416.harbor.1.sql | Rob--W/phabricator | 8272f3f7fa92179931a2fc7ca33909492cfc644d | [
"Apache-2.0"
] | 1,335 | 2015-01-04T03:15:40.000Z | 2022-03-30T23:34:27.000Z | ALTER TABLE {$NAMESPACE}_harbormaster.harbormaster_buildable
DROP buildStatus;
| 27 | 60 | 0.851852 |
3578ae8799c98031c3d29c0ac27702a0c826de98 | 2,654 | swift | Swift | app/YARC/SwiftUI/SubRedditView/SubRedditView.swift | Tokko55v2/yarc | fcf33f2e6957b2cd0d2fb104686639f380ea3ab8 | [
"MIT"
] | 1 | 2021-02-25T21:50:42.000Z | 2021-02-25T21:50:42.000Z | app/YARC/SwiftUI/SubRedditView/SubRedditView.swift | Tokko55v2/YARC | 13cffe55ddb56c8785754e7ce86edb0cf5422a9d | [
"MIT"
] | 10 | 2021-02-06T22:25:48.000Z | 2021-05-15T14:03:19.000Z | app/YARC/SwiftUI/SubRedditView/SubRedditView.swift | Tokko55v2/yarc | fcf33f2e6957b2cd0d2fb104686639f380ea3ab8 | [
"MIT"
] | 1 | 2021-01-27T20:58:11.000Z | 2021-01-27T20:58:11.000Z | //
// SubRedditView.swift
// YARC
//
// Created by Michael Kroneder on 09/02/2021.
//
import SafariServices
import SwiftUI
struct SubRedditView: View {
@ObservedObject var viewModel: SubRedditViewModel
var body: some View {
ScrollView {
VStack {
HStack {
... | 29.164835 | 137 | 0.508666 |
8137e91e33815f535f1891424b7aaf0cb94f3f2c | 193 | rs | Rust | chain-common/build.rs | DimensionDev/MaskWalletCore | b4525ab99ed2eb96553f5c2365b00848cee428be | [
"MIT"
] | 4 | 2021-07-16T02:09:05.000Z | 2022-03-09T03:52:17.000Z | chain-common/build.rs | DimensionDev/MaskWalletCore | b4525ab99ed2eb96553f5c2365b00848cee428be | [
"MIT"
] | 7 | 2021-06-07T12:05:42.000Z | 2022-03-19T12:26:50.000Z | chain-common/build.rs | DimensionDev/MaskWalletCore | b4525ab99ed2eb96553f5c2365b00848cee428be | [
"MIT"
] | 2 | 2021-06-07T07:58:31.000Z | 2022-02-07T01:25:27.000Z | use std::env;
extern crate prost_build;
fn main() {
env::set_var("OUT_DIR", "src/generated");
prost_build::compile_protos(&["proto/api.proto"], &["proto/sign/", "proto/"]).unwrap();
}
| 24.125 | 91 | 0.642487 |
7f24e65d30f8eb2174daf3b6a51b55bd6b9e1a99 | 237 | go | Go | analyzer/domain/testdata/analyzerproject/src/analyzerproject/domain/generator.go | keisuke-m123/gomoduler | b4098de8dc0a2c7864f9079854cdd79c075a2a15 | [
"MIT"
] | null | null | null | analyzer/domain/testdata/analyzerproject/src/analyzerproject/domain/generator.go | keisuke-m123/gomoduler | b4098de8dc0a2c7864f9079854cdd79c075a2a15 | [
"MIT"
] | null | null | null | analyzer/domain/testdata/analyzerproject/src/analyzerproject/domain/generator.go | keisuke-m123/gomoduler | b4098de8dc0a2c7864f9079854cdd79c075a2a15 | [
"MIT"
] | null | null | null | package domain
type (
OrderIDGenerator interface {
GenerateOrderID() OrderID
}
OrderNumberGenerator interface {
GenerateOrderNumber() OrderNumber
}
ShipmentCodeGenerator interface {
GenerateShipmentCode() ShipmentCode
}
)
| 14.8125 | 37 | 0.780591 |
6128b4620730d31f3ae9e66909e31713206ed627 | 2,547 | css | CSS | css/scrolling-nav.css | Waskalle/TPM-JMED | 83e1538847e9005d3b1d35315771d11509f3e9bf | [
"Apache-2.0"
] | null | null | null | css/scrolling-nav.css | Waskalle/TPM-JMED | 83e1538847e9005d3b1d35315771d11509f3e9bf | [
"Apache-2.0"
] | null | null | null | css/scrolling-nav.css | Waskalle/TPM-JMED | 83e1538847e9005d3b1d35315771d11509f3e9bf | [
"Apache-2.0"
] | null | null | null | /*!
* Start Bootstrap - Scrolling Nav HTML Template (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
body {
width: 100%;
height: 100%;
}
html {
width: 100%;
height: 100%;
}
@media(min-width:767px) {
.n... | 18.192857 | 154 | 0.625442 |
709607e08e6d78793fd7c2f07d353d07dc4d290e | 3,678 | h | C | ext/yiot-core/iotkit/sdk/modules/protocols/snap/include/virgil/iot/protocols/snap/cfg/cfg-structs.h | andr13/yiot-yocto-test | 1a0942318a2fb244c2a5a2ff086be7d0b7ea0deb | [
"BSD-2-Clause"
] | null | null | null | ext/yiot-core/iotkit/sdk/modules/protocols/snap/include/virgil/iot/protocols/snap/cfg/cfg-structs.h | andr13/yiot-yocto-test | 1a0942318a2fb244c2a5a2ff086be7d0b7ea0deb | [
"BSD-2-Clause"
] | null | null | null | ext/yiot-core/iotkit/sdk/modules/protocols/snap/include/virgil/iot/protocols/snap/cfg/cfg-structs.h | andr13/yiot-yocto-test | 1a0942318a2fb244c2a5a2ff086be7d0b7ea0deb | [
"BSD-2-Clause"
] | null | null | null | // Copyright (C) 2015-2020 Virgil Security, Inc.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// (1) Redistributions of source code must retain the above copyright
// ... | 40.866667 | 118 | 0.722132 |
cc0056787553d508dc21fc64d7c2be9ae5e3c23d | 1,865 | tab | SQL | CZ-9x9-CMR/4-16-ES-10STATES-70CMR04.tab | bidlom/Mendel2019-ES | 24632a8582e2b18bd8367ecb599c9d4b58e7d7da | [
"BSD-3-Clause"
] | null | null | null | CZ-9x9-CMR/4-16-ES-10STATES-70CMR04.tab | bidlom/Mendel2019-ES | 24632a8582e2b18bd8367ecb599c9d4b58e7d7da | [
"BSD-3-Clause"
] | null | null | null | CZ-9x9-CMR/4-16-ES-10STATES-70CMR04.tab | bidlom/Mendel2019-ES | 24632a8582e2b18bd8367ecb599c9d4b58e7d7da | [
"BSD-3-Clause"
] | null | null | null | 2 10
0 0 0 0 7 1
0 0 0 0 9 1
0 0 0 1 1 1
0 0 0 1 2 1
0 0 0 1 3 1
0 0 0 1 4 1
0 0 0 4 0 3
0 0 0 5 4 1
0 0 0 7 0 4
0 0 0 9 0 4
0 0 1 0 0 9
0 0 1 0 1 9
0 0 1 0 2 9
0 1 0 0 4 7
0 1 1 0 3 2
0 1 1 1 2 2
0 1 1 2 1 2
0 1 1 2 3 2
0 1 1 7 3 2
0 1 4 0 0 2
0 1 7 0 3 2
0 1 9 0 2 1
0 1 9 7 1 2
0 2 0 0 2 2
0 3 0 0 4 2
0 3 4 0 0 3
0 8... | 11.878981 | 11 | 0.500268 |
3e2e13635cdc1cf1deae32fc02eaa8532a1c0810 | 1,316 | kt | Kotlin | app/src/main/java/stan/androiddemo/project/petal/API/FollowAPI.kt | DuckDeck/AndroidDemo | 4d8d12c1f0ef821a252a2265ae46d7b8ff61729a | [
"MIT"
] | 128 | 2017-08-31T00:13:11.000Z | 2021-07-16T10:43:25.000Z | app/src/main/java/stan/androiddemo/project/petal/API/FollowAPI.kt | huaqianlee/AndroidDemo-Kotlin | c88e934f31566948cdb123613f4976684ca16cdf | [
"MIT"
] | 1 | 2017-09-11T10:12:52.000Z | 2017-09-25T04:38:44.000Z | app/src/main/java/stan/androiddemo/project/petal/API/FollowAPI.kt | huaqianlee/AndroidDemo-Kotlin | c88e934f31566948cdb123613f4976684ca16cdf | [
"MIT"
] | 44 | 2017-08-31T00:39:13.000Z | 2021-04-27T01:59:16.000Z | package stan.androiddemo.project.petal.API
import retrofit2.http.GET
import retrofit2.http.Header
import retrofit2.http.Query
import rx.Observable
import stan.androiddemo.project.petal.Config.Config
import stan.androiddemo.project.petal.Module.Follow.FollowBoardListBean
import stan.androiddemo.project.petal.Module.Fol... | 38.705882 | 124 | 0.707447 |
f034a4044c6267edb00bc843fa2e36be283bf707 | 744 | js | JavaScript | src/views/components/button/button.js | Metaburn/doocrate | 42dadee8a7e21c6df92d6220b8b9ce93f54ca5d0 | [
"MIT"
] | 20 | 2017-10-20T14:43:15.000Z | 2020-06-05T23:48:57.000Z | src/views/components/button/button.js | Metaburn/doocrate | 42dadee8a7e21c6df92d6220b8b9ce93f54ca5d0 | [
"MIT"
] | 65 | 2017-09-28T11:31:06.000Z | 2020-08-20T09:02:42.000Z | src/views/components/button/button.js | Metaburn/doocrate | 42dadee8a7e21c6df92d6220b8b9ce93f54ca5d0 | [
"MIT"
] | 8 | 2017-10-09T14:50:59.000Z | 2020-08-16T09:01:46.000Z | import React from 'react';
import classNames from 'classnames';
import PropTypes from 'prop-types';
import './button.css';
const Button = ({
children,
className,
onClick,
type = 'button',
disabled,
dataTour,
}) => {
const cssClasses = classNames('button', className);
return (
<button
classNa... | 18.6 | 55 | 0.645161 |
0b5a05b2b3ff689eda558db7efd7ba2b693f4a50 | 1,244 | py | Python | test.py | richisusiljacob/VideoTo360VR | 14c176cfbe90fd7cf113cbdd2d4edf447c001894 | [
"MIT"
] | 5 | 2021-08-06T11:26:56.000Z | 2022-03-17T09:06:07.000Z | test.py | richisusiljacob/VideoTo360VR | 14c176cfbe90fd7cf113cbdd2d4edf447c001894 | [
"MIT"
] | 8 | 2021-07-03T08:08:00.000Z | 2021-07-09T06:59:34.000Z | test.py | richisusiljacob/VideoTo360VR | 14c176cfbe90fd7cf113cbdd2d4edf447c001894 | [
"MIT"
] | 2 | 2021-07-02T09:19:09.000Z | 2021-07-04T13:34:30.000Z | from tkinter import *
import tkinter.ttk as ttk
from PIL import ImageTk,Image
""" root = Tk()
canvas = Canvas(root, width = 300, height = 300)
canvas.pack()
img = ImageTk.PhotoImage(Image.open("output/collage1/FinalCollage.jpg"))
canvas.create_image(0,0,anchor=NW, image=img)
root.mainloop() """
root = Tk(... | 31.1 | 74 | 0.553859 |
606d9c958c400ae910ca8b8ecd6022c299df7577 | 7,780 | kt | Kotlin | tbs/src/main/java/com/hjhrq1991/library/tbs/BridgeWebViewClient.kt | angcyo/UICoreEx | eafede08fd1bb8811af2b35502bd5d5a17b3fdd6 | [
"MIT"
] | 2 | 2021-06-07T06:20:44.000Z | 2021-07-23T07:51:29.000Z | tbs/src/main/java/com/hjhrq1991/library/tbs/BridgeWebViewClient.kt | angcyo/UICoreEx | eafede08fd1bb8811af2b35502bd5d5a17b3fdd6 | [
"MIT"
] | null | null | null | tbs/src/main/java/com/hjhrq1991/library/tbs/BridgeWebViewClient.kt | angcyo/UICoreEx | eafede08fd1bb8811af2b35502bd5d5a17b3fdd6 | [
"MIT"
] | 2 | 2020-06-18T10:14:29.000Z | 2021-09-05T16:50:10.000Z | package com.hjhrq1991.library.tbs
import android.graphics.Bitmap
import android.os.Bundle
import android.os.Message
import android.view.KeyEvent
import com.hjhrq1991.library.tbs.BridgeUtil.webViewLoadLocalJs
import com.tencent.smtt.export.external.interfaces.*
import com.tencent.smtt.sdk.WebView
import com.tencent.smt... | 34.273128 | 113 | 0.661825 |
f574b17d1c952795d3436541106b29e034e6d19d | 2,484 | rs | Rust | src/test/instruction_tests/instr_cvtsd2ss.rs | ftilde/rust-x86asm | f6584b8cfe8e75d978bf7b83a67c69444fd3f161 | [
"MIT"
] | null | null | null | src/test/instruction_tests/instr_cvtsd2ss.rs | ftilde/rust-x86asm | f6584b8cfe8e75d978bf7b83a67c69444fd3f161 | [
"MIT"
] | null | null | null | src/test/instruction_tests/instr_cvtsd2ss.rs | ftilde/rust-x86asm | f6584b8cfe8e75d978bf7b83a67c69444fd3f161 | [
"MIT"
] | null | null | null | use instruction_def::*;
use test::run_test;
use Operand::*;
use Reg::*;
use RegScale::*;
use RegType::*;
use {BroadcastMode, Instruction, MaskReg, MergeMode, Mnemonic, OperandSize, Reg, RoundingMode};
#[test]
fn cvtsd2ss_1() {
run_test(
&Instruction {
mnemonic: Mnemonic::CVTSD2SS,
o... | 24.116505 | 95 | 0.465378 |
7c943ad6482de1cb87596eab0a46b4b0d669bea5 | 3,738 | rs | Rust | src/main.rs | RottenFishbone/wpm | 8f5668fef0bff4be15ad19606ce68b728823dbaa | [
"MIT"
] | null | null | null | src/main.rs | RottenFishbone/wpm | 8f5668fef0bff4be15ad19606ce68b728823dbaa | [
"MIT"
] | 2 | 2022-01-18T23:57:03.000Z | 2022-03-02T02:21:41.000Z | src/main.rs | RottenFishbone/wpm | 8f5668fef0bff4be15ad19606ce68b728823dbaa | [
"MIT"
] | null | null | null | #![allow(dead_code)]
#![allow(unused_imports)]
mod app;
use app::{UIEvent, Controller};
use std::{
error::Error,
io::{ Write, stdout },
panic::{self, PanicInfo},
sync::mpsc::Sender,
thread,
time:: { Duration, SystemTime },
};
use crossterm::{
event::{ self, DisableMouseCapture, KeyModifie... | 30.145161 | 78 | 0.578384 |
7231f7c389f42f1a47be6e4ac6ff875fcbbc0d98 | 16,601 | rs | Rust | qvisor/src/runc/cmd/exec.rs | abel-von/Quark | 7bbba67ee1105e3b7df751a278cbad9b2af666a1 | [
"Apache-2.0"
] | null | null | null | qvisor/src/runc/cmd/exec.rs | abel-von/Quark | 7bbba67ee1105e3b7df751a278cbad9b2af666a1 | [
"Apache-2.0"
] | null | null | null | qvisor/src/runc/cmd/exec.rs | abel-von/Quark | 7bbba67ee1105e3b7df751a278cbad9b2af666a1 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2021 Quark Container Authors / 2018 The gVisor 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 ... | 32.55098 | 135 | 0.500271 |
dd90880347b3f9e0843a16393df5a642532db774 | 1,928 | asm | Assembly | programs/oeis/130/A130129.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/130/A130129.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/130/A130129.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A130129: (3*n+1)*2^n.
; 1,8,28,80,208,512,1216,2816,6400,14336,31744,69632,151552,327680,704512,1507328,3211264,6815744,14417920,30408704,63963136,134217728,281018368,587202560,1224736768,2550136832,5301600256,11005853696,22817013760,47244640256,97710505984,201863462912,416611827712,858993459200,1769526525952,3642132... | 192.8 | 1,845 | 0.926349 |
fb1a4d5a61ceafa023bda39460f9836b2c1ca179 | 1,761 | go | Go | util/config_dump/port_forwarder.go | mlbiam/kiali | 75723d5d1b6fc0b65c47d48f5ee7f552e3ea76eb | [
"Apache-2.0"
] | 7 | 2021-10-31T09:29:45.000Z | 2022-02-21T18:52:17.000Z | util/config_dump/port_forwarder.go | mlbiam/kiali | 75723d5d1b6fc0b65c47d48f5ee7f552e3ea76eb | [
"Apache-2.0"
] | 2 | 2020-08-11T20:00:58.000Z | 2022-03-06T20:52:09.000Z | util/config_dump/port_forwarder.go | mlbiam/kiali | 75723d5d1b6fc0b65c47d48f5ee7f552e3ea76eb | [
"Apache-2.0"
] | 1 | 2021-08-24T09:16:54.000Z | 2021-08-24T09:16:54.000Z | package config_dump
import (
"io"
"net/http"
"os"
"k8s.io/client-go/rest"
"k8s.io/client-go/tools/portforward"
"k8s.io/client-go/transport/spdy"
"github.com/kiali/kiali/log"
)
type PortForwarder interface {
Start() error
Stop()
}
type forwarder struct {
forwarder *portforward.PortForwarder
ReadyCh cha... | 22.0125 | 151 | 0.698467 |
8ed70d1e4794f45621d84f2b6edfcc92f79bd365 | 98 | rb | Ruby | realm-core/lib/realm/query_handler.rb | realm-rb/realm | d30646d0823a391a3ce2b12f102653fbb4901c8a | [
"MIT"
] | 1 | 2022-03-25T14:00:00.000Z | 2022-03-25T14:00:00.000Z | realm-core/lib/realm/query_handler.rb | realm-rb/realm | d30646d0823a391a3ce2b12f102653fbb4901c8a | [
"MIT"
] | null | null | null | realm-core/lib/realm/query_handler.rb | realm-rb/realm | d30646d0823a391a3ce2b12f102653fbb4901c8a | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module Realm
class QueryHandler < Realm::ActionHandler
end
end
| 14 | 43 | 0.785714 |
ceef32e4cc6ae98082a11697f6ba5408e2fc8ced | 13,712 | sql | SQL | wallet_db.sql | Jim-github-s/wallet | b572766c97c8ad50a825cead6145207ea30a8658 | [
"Apache-2.0"
] | null | null | null | wallet_db.sql | Jim-github-s/wallet | b572766c97c8ad50a825cead6145207ea30a8658 | [
"Apache-2.0"
] | null | null | null | wallet_db.sql | Jim-github-s/wallet | b572766c97c8ad50a825cead6145207ea30a8658 | [
"Apache-2.0"
] | null | null | null | /*
SQLyog Ultimate v11.11 (64 bit)
MySQL - 5.5.53 : Database - wallet
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=... | 90.210526 | 7,604 | 0.700408 |
610fff90d9032ddb6d70e8374365bcda90658b82 | 274 | css | CSS | src/client/js/otp/widgets/widget-style.css | skjolber/r5 | 380340bbff8258e83d84d5007c9386765fc0d3da | [
"MIT"
] | 3 | 2018-12-21T11:40:03.000Z | 2020-09-14T06:49:22.000Z | src/client/js/otp/widgets/widget-style.css | skjolber/r5 | 380340bbff8258e83d84d5007c9386765fc0d3da | [
"MIT"
] | 29 | 2018-09-07T13:52:29.000Z | 2019-11-18T15:36:43.000Z | src/client/js/otp/widgets/widget-style.css | skjolber/r5 | 380340bbff8258e83d84d5007c9386765fc0d3da | [
"MIT"
] | 2 | 2018-10-24T17:53:36.000Z | 2020-01-24T13:16:28.000Z | .otp-dialogContent {
position: absolute;
top: 10px;
bottom: 45px;
left: 10px;
right: 10px;
}
.otp-dialogButtonRow {
position: absolute;
bottom: 5px;
left: 0px;
right: 0px;
height: 30px;
text-align: center;
margin-top: 8px;
}
| 15.222222 | 23 | 0.587591 |
167307c7540581aa7a1083d34f6397c4e59b807e | 103 | h | C | src/z80_xgm.h | Megadrive-Vault/SGDK | 63e95c0267f66badacc266a55c3c939472b708f1 | [
"MIT"
] | 1 | 2019-09-16T10:24:36.000Z | 2019-09-16T10:24:36.000Z | src/z80_xgm.h | Megadrive-Vault/SGDK | 63e95c0267f66badacc266a55c3c939472b708f1 | [
"MIT"
] | null | null | null | src/z80_xgm.h | Megadrive-Vault/SGDK | 63e95c0267f66badacc266a55c3c939472b708f1 | [
"MIT"
] | 1 | 2019-10-23T16:41:06.000Z | 2019-10-23T16:41:06.000Z | #ifndef _Z80_XGM_H_
#define _Z80_XGM_H_
extern const u8 z80_xgm[0x1700];
#endif // _Z80_XGM_H_
| 14.714286 | 33 | 0.737864 |
a30da014b7337b54c5e1781c3bd56ff89e472ee7 | 3,438 | sql | SQL | src/test/resources/test-data.sql | ifqthenp/otus-spring-hw-06-spring-data-jpa | 0094e8363e1b32173c458060d5a520c0085940ac | [
"MIT"
] | null | null | null | src/test/resources/test-data.sql | ifqthenp/otus-spring-hw-06-spring-data-jpa | 0094e8363e1b32173c458060d5a520c0085940ac | [
"MIT"
] | null | null | null | src/test/resources/test-data.sql | ifqthenp/otus-spring-hw-06-spring-data-jpa | 0094e8363e1b32173c458060d5a520c0085940ac | [
"MIT"
] | null | null | null | INSERT INTO `authors` VALUES (1, 'Lewis', 'Carrol');
INSERT INTO `authors` VALUES (2, 'Charlotte', 'Bronte');
INSERT INTO `authors` VALUES (3, 'Miguel', 'de Cervantes');
INSERT INTO `authors` VALUES (4, 'Herbert', 'Wells');
INSERT INTO `authors` VALUES (5, 'Leo', 'Tolstoy');
INSERT INTO `authors` VALUES (6, 'Jane', 'Au... | 44.076923 | 70 | 0.688773 |
91f2ed80b29630ea71f6500c1d444bebaf692182 | 276 | kt | Kotlin | neumorphic/src/main/java/com/gandiva/neumorphic/NeuStyle.kt | sridhar-sp/compose-neumorphism | 8deff9e97c429024fbb970d5ca168c49d9b17ed7 | [
"Apache-2.0"
] | 20 | 2022-01-04T14:19:53.000Z | 2022-03-29T11:56:26.000Z | neumorphic/src/main/java/com/gandiva/neumorphic/NeuStyle.kt | sridhar-sp/compose-neumorphism | 8deff9e97c429024fbb970d5ca168c49d9b17ed7 | [
"Apache-2.0"
] | 1 | 2022-01-07T04:31:32.000Z | 2022-01-10T05:05:11.000Z | neumorphic/src/main/java/com/gandiva/neumorphic/NeuStyle.kt | sridhar-sp/compose-neumorphism | 8deff9e97c429024fbb970d5ca168c49d9b17ed7 | [
"Apache-2.0"
] | 1 | 2022-02-02T22:21:56.000Z | 2022-02-02T22:21:56.000Z | package com.gandiva.neumorphic
import androidx.compose.ui.unit.Dp
data class NeuStyle(
val lightShadowColor: androidx.compose.ui.graphics.Color,
val darkShadowColor: androidx.compose.ui.graphics.Color,
val shadowElevation: Dp,
val lightSource: LightSource
)
| 25.090909 | 61 | 0.778986 |
f0476c6057fe6e189aeed8a5c7b88b67234d582d | 78 | py | Python | svae/__init__.py | APodolskiy/SentenceVAE | afe82504922de700810b24638f7df0dbf1d8fa11 | [
"MIT"
] | null | null | null | svae/__init__.py | APodolskiy/SentenceVAE | afe82504922de700810b24638f7df0dbf1d8fa11 | [
"MIT"
] | null | null | null | svae/__init__.py | APodolskiy/SentenceVAE | afe82504922de700810b24638f7df0dbf1d8fa11 | [
"MIT"
] | null | null | null | import torch.nn as nn
RNN_TYPES = {
'lstm': nn.LSTM,
'gru': nn.GRU
}
| 11.142857 | 21 | 0.564103 |
7096668b9dafc530c3cae4e03524e0d1dc16960b | 11,213 | go | Go | internal/partition/partition.go | go-sif/sif | e29587869c5d8d3fcacb518551e28ffbbac06fd3 | [
"Apache-2.0"
] | 31 | 2020-02-19T13:21:26.000Z | 2022-03-10T06:44:12.000Z | internal/partition/partition.go | go-sif/sif | e29587869c5d8d3fcacb518551e28ffbbac06fd3 | [
"Apache-2.0"
] | 20 | 2020-03-10T03:13:31.000Z | 2022-03-16T19:35:39.000Z | internal/partition/partition.go | go-sif/sif | e29587869c5d8d3fcacb518551e28ffbbac06fd3 | [
"Apache-2.0"
] | 2 | 2020-04-24T02:50:09.000Z | 2021-10-31T12:19:27.000Z | package partition
import (
"bytes"
"encoding/gob"
"fmt"
"io"
"log"
"github.com/go-sif/sif"
pb "github.com/go-sif/sif/internal/rpc"
iutil "github.com/go-sif/sif/internal/util"
uuid "github.com/gofrs/uuid"
)
const defaultCapacity = 2
// partitionImpl is Sif's internal implementation of Partition
type partiti... | 34.185976 | 183 | 0.71756 |
1871215b95db7064d348bc17e7099b6d4125c1b5 | 786 | sql | SQL | SEIDR.Database/SEIDR/Tables/Operation.sql | maron6/SEIDR | cb422681994b81d7e28149acc5676f859f4fa93b | [
"MIT"
] | 1 | 2018-02-16T16:47:07.000Z | 2018-02-16T16:47:07.000Z | SEIDR.Database/SEIDR/Tables/Operation.sql | maron6/SEIDR | cb422681994b81d7e28149acc5676f859f4fa93b | [
"MIT"
] | null | null | null | SEIDR.Database/SEIDR/Tables/Operation.sql | maron6/SEIDR | cb422681994b81d7e28149acc5676f859f4fa93b | [
"MIT"
] | null | null | null | CREATE TABLE [SEIDR].[Operation] (
[OperationID] INT IDENTITY (1, 1) NOT NULL,
[Operation] VARCHAR (128) NOT NULL,
[OperationSchema] VARCHAR (128) NOT NULL,
[Description] VARCHAR (300) NULL,
[Version] INT NOT NULL,
[ThreadID] TINYINT NULL,
... | 39.3 | 117 | 0.609415 |
e9bedf6379a6acaa0d2717c221dde3c3cce763ee | 3,282 | rs | Rust | src/parse.rs | ironthree/fedora-update-feedback | 9352fa50bb03926e74d4ab316f306172f14d5414 | [
"Apache-2.0",
"MIT"
] | 2 | 2020-03-12T10:41:00.000Z | 2020-03-29T11:09:36.000Z | src/parse.rs | ironthree/fedora-update-feedback | 9352fa50bb03926e74d4ab316f306172f14d5414 | [
"Apache-2.0",
"MIT"
] | 5 | 2020-01-26T22:04:10.000Z | 2021-10-11T11:19:36.000Z | src/parse.rs | ironthree/fedora-update-feedback | 9352fa50bb03926e74d4ab316f306172f14d5414 | [
"Apache-2.0",
"MIT"
] | null | null | null | /// This helper function parses a NEVRA string into its components.
#[allow(clippy::many_single_char_names)]
pub fn parse_nevra(nevra: &str) -> Result<(&str, &str, &str, &str, &str), String> {
let mut nevr_a: Vec<&str> = nevra.rsplitn(2, '.').collect();
if nevr_a.len() != 2 {
return Err(format!("Unexpe... | 28.789474 | 87 | 0.560938 |
15dd30ce30174b9a1907439036cd7743209c3b51 | 311 | rb | Ruby | log-if-nginx-module.rb | LTD-Beget/homebrew-nginx | 39a79396961abe79ad3c786e4afa0fe2a6d8edb5 | [
"MIT"
] | null | null | null | log-if-nginx-module.rb | LTD-Beget/homebrew-nginx | 39a79396961abe79ad3c786e4afa0fe2a6d8edb5 | [
"MIT"
] | null | null | null | log-if-nginx-module.rb | LTD-Beget/homebrew-nginx | 39a79396961abe79ad3c786e4afa0fe2a6d8edb5 | [
"MIT"
] | null | null | null | require "formula"
class LogIfNginxModule < Formula
homepage "https://github.com/cfsego/ngx_log_if"
url "https://github.com/cfsego/ngx_log_if/archive/master.tar.gz"
sha1 "8dfb8c0f9358821377c0dea810a49a026aecd405"
version "0.1"
def install
(share+"log-if-nginx-module").install Dir["*"]
end
end
| 23.923077 | 66 | 0.742765 |
572adc3da4357103fd7ffce28de0c9211c45f290 | 6,481 | h | C | examples/xma/decode_only/include/xlnx_decoder.h | jmouroux/video-sdk | ae3430c8cb0553bbcfc097b8e36ee9e08ac32c35 | [
"Apache-2.0",
"BSD-3-Clause"
] | 11 | 2021-06-01T06:16:50.000Z | 2022-02-16T16:19:20.000Z | examples/xma/decode_only/include/xlnx_decoder.h | jmouroux/video-sdk | ae3430c8cb0553bbcfc097b8e36ee9e08ac32c35 | [
"Apache-2.0",
"BSD-3-Clause"
] | 19 | 2021-08-31T03:31:06.000Z | 2022-02-16T22:35:39.000Z | examples/xma/decode_only/include/xlnx_decoder.h | jmouroux/video-sdk | ae3430c8cb0553bbcfc097b8e36ee9e08ac32c35 | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2021-07-09T21:31:27.000Z | 2022-03-08T00:44:54.000Z | /*
* Copyright (C) 2021, Xilinx Inc - All rights reserved
* Xilinx SDAccel Media Accelerator API
*
* 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://www.apache.org/licenses/LIC... | 36.615819 | 81 | 0.570591 |
85ab73960556af7ed1fa81a5f637166003fb5d9c | 707 | js | JavaScript | problems/147.js | iamnapo/project-euler | 27ef2df52341f7f7f94f7d73dab852099fa72db5 | [
"MIT"
] | 3 | 2017-11-27T13:13:28.000Z | 2018-02-08T22:24:11.000Z | problems/147.js | iamnapo/ProjectEuler | f36b89a1d2642f7b96b190259a6b2a892c204b8d | [
"MIT"
] | 1 | 2020-07-20T19:15:34.000Z | 2020-07-20T19:15:51.000Z | problems/147.js | iamnapo/ProjectEuler | f36b89a1d2642f7b96b190259a6b2a892c204b8d | [
"MIT"
] | 1 | 2018-07-21T16:51:36.000Z | 2018-07-21T16:51:36.000Z | export default () => {
let count = 0;
const [M, N] = [47, 43];
for (let pX = 0; pX < N; pX += 1) {
for (let pY = 0; pY < M; pY += 1) {
for (let sN = 1; pX + sN <= N; sN += 1) {
for (let sM = 1; pY + sM <= M; sM += 1) {
count += (N - pX - sN + 1) * (M - pY - sM + 1);
}
}
}
}
for (let pX = 0.... | 24.37931 | 82 | 0.388967 |
604579b27b3e8245afaa02673a32e31e0f15a656 | 2,845 | html | HTML | energy-chain/src/index.html | sigmoid3/blockchain-energy | 7b7abed5127e048afc92ff1f2f5c6b2491101bdf | [
"MIT"
] | null | null | null | energy-chain/src/index.html | sigmoid3/blockchain-energy | 7b7abed5127e048afc92ff1f2f5c6b2491101bdf | [
"MIT"
] | null | null | null | energy-chain/src/index.html | sigmoid3/blockchain-energy | 7b7abed5127e048afc92ff1f2f5c6b2491101bdf | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HDU-CHAINLAB</title>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, i... | 38.972603 | 139 | 0.51529 |
71f6bb2feb581ec1b3bbd8af89935dbe07be970e | 4,741 | ts | TypeScript | src/entities/Job/manager.ts | ncomerci/decentraland-gatsby | 0d07cd1b1894f7777067f94c6140292d9546fc0d | [
"Apache-2.0"
] | 8 | 2021-04-08T15:08:28.000Z | 2022-02-24T10:34:46.000Z | src/entities/Job/manager.ts | ncomerci/decentraland-gatsby | 0d07cd1b1894f7777067f94c6140292d9546fc0d | [
"Apache-2.0"
] | 171 | 2020-03-12T18:58:01.000Z | 2022-03-31T17:41:16.000Z | src/entities/Job/manager.ts | ncomerci/decentraland-gatsby | 0d07cd1b1894f7777067f94c6140292d9546fc0d | [
"Apache-2.0"
] | 10 | 2020-10-21T11:50:44.000Z | 2022-03-29T07:46:54.000Z | import { CronJob } from 'cron'
import { v4 as uuid } from 'uuid'
import { JobSettings, TimePresets, CronTime } from './types'
import JobContext from './context'
import { createVoidPool, Pool } from '../Pool/utils'
import MemoryModel from './model/memory'
import DatabaseModel from './model/model'
import { job_manager_du... | 23.705 | 79 | 0.596288 |
83df384c6cdc8e52d3342d4a82780ffbe72d0984 | 7,034 | rs | Rust | src/sys/component_manager/src/model/testing/memfs.rs | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 1 | 2019-04-21T18:02:26.000Z | 2019-04-21T18:02:26.000Z | src/sys/component_manager/src/model/testing/memfs.rs | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 16 | 2020-09-04T19:01:11.000Z | 2021-05-28T03:23:09.000Z | src/sys/component_manager/src/model/testing/memfs.rs | ZVNexus/fuchsia | c5610ad15208208c98693618a79c705af935270c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use {
fidl_fuchsia_io::{DirectoryProxy, CLONE_FLAG_SAME_RIGHTS},
fuchsia_async as fasync,
fuchsia_zircon::{self as zx, HandleBased},
io_uti... | 33.655502 | 99 | 0.621979 |
e73cd242869367b354ad04e77fe84776e6687894 | 5,297 | js | JavaScript | src/components/about-page/compliance-dashboard.component.test.js | ghhifr6v/code-gov-front-end | d25c2cc938371ff1e9cbc83d449f6feccae2a99b | [
"CC0-1.0"
] | null | null | null | src/components/about-page/compliance-dashboard.component.test.js | ghhifr6v/code-gov-front-end | d25c2cc938371ff1e9cbc83d449f6feccae2a99b | [
"CC0-1.0"
] | null | null | null | src/components/about-page/compliance-dashboard.component.test.js | ghhifr6v/code-gov-front-end | d25c2cc938371ff1e9cbc83d449f6feccae2a99b | [
"CC0-1.0"
] | null | null | null | import React from 'react'
import { shallow } from 'enzyme'
import { config } from 'components/about-page/compliance-dashboard.container'
import ComplianceDashboard from 'components/about-page/compliance-dashboard.component'
const props = {
config,
data: [
{
acronym: 'USDA',
img: '/assets/img/logos... | 28.026455 | 98 | 0.520483 |
744dfbd71771fee9b92d83ba54bf72c0991ae606 | 750 | h | C | ports/zephyr/ncs/include/memfault/nrfconnect_port/http.h | elliot-wdtl/memfault-firmware-sdk | 99f20240d93792391583b46b7a74e3eb3046295c | [
"BSD-3-Clause"
] | 79 | 2019-07-05T15:53:31.000Z | 2022-03-25T13:17:19.000Z | ports/zephyr/ncs/include/memfault/nrfconnect_port/http.h | elliot-wdtl/memfault-firmware-sdk | 99f20240d93792391583b46b7a74e3eb3046295c | [
"BSD-3-Clause"
] | 17 | 2019-11-04T15:35:54.000Z | 2022-03-17T18:43:41.000Z | ports/zephyr/ncs/include/memfault/nrfconnect_port/http.h | elliot-wdtl/memfault-firmware-sdk | 99f20240d93792391583b46b7a74e3eb3046295c | [
"BSD-3-Clause"
] | 41 | 2019-07-07T23:18:32.000Z | 2022-03-22T09:31:41.000Z | #pragma once
//! @file
//!
//! Copyright (c) Memfault, Inc.
//! See License.txt for details
//!
//! @brief
//! Zephyr specific http utility for interfacing with Memfault HTTP utilities
#include <stddef.h>
#include <stdbool.h>
#include "memfault/ports/zephyr/http.h"
#ifdef __cplusplus
extern "C" {
#endif
//! memfau... | 23.4375 | 91 | 0.788 |
16c9c23745f990a3e1fbe502323b532fab463a56 | 161 | tsx | TypeScript | client/src/components/NotFound/NotFound.tsx | DesertoRaposa/The-social-life-of-Pets | f25f8ccdec0529a6585889d059ef8dbc1bf335be | [
"MIT"
] | null | null | null | client/src/components/NotFound/NotFound.tsx | DesertoRaposa/The-social-life-of-Pets | f25f8ccdec0529a6585889d059ef8dbc1bf335be | [
"MIT"
] | null | null | null | client/src/components/NotFound/NotFound.tsx | DesertoRaposa/The-social-life-of-Pets | f25f8ccdec0529a6585889d059ef8dbc1bf335be | [
"MIT"
] | null | null | null | import React from 'react';
const NotFound = (): JSX.Element => (
<div className="contaier">
<h1> Page Not Found</h1>
</div>
);
export default NotFound; | 17.888889 | 37 | 0.639752 |
18c5585fc97e0c50441a64f466bd2b63603dc352 | 454 | css | CSS | deploy/files/terms.css | duhnnie/3-dreams-of-black | 15aded97f57a82e5a4c95c4e74bcd603b3fc6e1e | [
"Apache-2.0"
] | 475 | 2015-01-02T07:49:46.000Z | 2022-03-17T04:01:47.000Z | deploy/files/terms.css | duhnnie/3-dreams-of-black | 15aded97f57a82e5a4c95c4e74bcd603b3fc6e1e | [
"Apache-2.0"
] | 3 | 2015-03-06T10:51:03.000Z | 2019-09-10T19:39:39.000Z | deploy/files/terms.css | duhnnie/3-dreams-of-black | 15aded97f57a82e5a4c95c4e74bcd603b3fc6e1e | [
"Apache-2.0"
] | 130 | 2015-01-15T02:08:21.000Z | 2021-12-20T19:15:22.000Z | * {
margin: 0;
padding: 0;
}
body {
width: 300px;
margin: 0 auto;
font: 500 11px/20px "FuturaBT-Medium", Arial, sans-serif;
background: url('/files/footer/clouds-trans.png') center;
background-attachment: fixed;
}
h1, h2, h3, h4, h5, h6 {
text-align: center;
}
a {
color: #000;
}
li, p {
margin:... | 12.611111 | 59 | 0.601322 |
e8accb828752dc6d9ad9ded46902a3d69b86dc4b | 12,093 | swift | Swift | App/Feed/FeedViewController.swift | anosidium/Hackers | 7b9fd6785d5a63869afd7ffa13cab7d6bf0cfea0 | [
"MIT"
] | null | null | null | App/Feed/FeedViewController.swift | anosidium/Hackers | 7b9fd6785d5a63869afd7ffa13cab7d6bf0cfea0 | [
"MIT"
] | null | null | null | App/Feed/FeedViewController.swift | anosidium/Hackers | 7b9fd6785d5a63869afd7ffa13cab7d6bf0cfea0 | [
"MIT"
] | null | null | null | //
// FeedViewController.swift
// Hackers
//
// Created by Weiran Zhang on 07/06/2014.
// Copyright (c) 2014 Weiran Zhang. All rights reserved.
//
import Foundation
import UIKit
import SwiftUI
import SafariServices
import PromiseKit
import Loaf
import SwipeCellKit
class FeedViewController: UIViewController {
... | 35.672566 | 116 | 0.632101 |
7f45984e87a4a7b850ca1f6d3e4bef171f29049c | 4,949 | rs | Rust | advent2018/src/day8.rs | kesyog/adventofrust | ee35652a5f2a2cead8781e2b0e405282f77973d9 | [
"Apache-2.0"
] | null | null | null | advent2018/src/day8.rs | kesyog/adventofrust | ee35652a5f2a2cead8781e2b0e405282f77973d9 | [
"Apache-2.0"
] | null | null | null | advent2018/src/day8.rs | kesyog/adventofrust | ee35652a5f2a2cead8781e2b0e405282f77973d9 | [
"Apache-2.0"
] | null | null | null | //! Solution to [AoC YEAR Day DAY](https://adventofcode.com/YEAR/day/DAY)
mod part1 {
enum ParseState {
Header,
Metadata,
}
/// Minimally parse the input to find the metadata fields
/// Return the sum of all metadata fields
pub fn solve(tree: &[i32]) -> i32 {
let mut stack ... | 32.346405 | 99 | 0.515862 |
746cbece16520bddb049eb23d8fa6f7f432ae0dd | 2,693 | h | C | compiler/semantic/sym_tbl.h | Engineev/mocker | 9d3006419ea04683d0b2e6f5ccd21d464e6704e3 | [
"MIT"
] | 14 | 2019-02-18T01:41:50.000Z | 2021-08-11T00:27:51.000Z | compiler/semantic/sym_tbl.h | Engineev/mocker | 9d3006419ea04683d0b2e6f5ccd21d464e6704e3 | [
"MIT"
] | null | null | null | compiler/semantic/sym_tbl.h | Engineev/mocker | 9d3006419ea04683d0b2e6f5ccd21d464e6704e3 | [
"MIT"
] | 1 | 2021-08-11T00:28:39.000Z | 2021-08-11T00:28:39.000Z | #ifndef MOCKER_SYM_TBL_H
#define MOCKER_SYM_TBL_H
#include <memory>
#include <stdexcept>
#include <string>
#include <unordered_map>
#include <vector>
#include "ast/ast_node.h"
#include "ast/visitor.h"
namespace mocker {
class ScopeID {
public:
ScopeID() = default;
ScopeID(const ScopeID &) = default;
ScopeID(S... | 28.648936 | 80 | 0.6684 |
ddf400ac49b2b8ada2f9c0557122c8602c23a4af | 921 | h | C | LSUtils/Category/UIView+LSFrame.h | SandroLiu/SAKit | 3162d59da8404f0f210064f82bc0441a0bd24e1c | [
"MIT"
] | null | null | null | LSUtils/Category/UIView+LSFrame.h | SandroLiu/SAKit | 3162d59da8404f0f210064f82bc0441a0bd24e1c | [
"MIT"
] | null | null | null | LSUtils/Category/UIView+LSFrame.h | SandroLiu/SAKit | 3162d59da8404f0f210064f82bc0441a0bd24e1c | [
"MIT"
] | null | null | null | //
// UIView+LSFrame.h
// LSUtilsDemo
//
// Created by 刘帅 on 2018/12/25.
// Copyright © 2018年 刘帅. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIView (LSFrame)
/**
* x轴坐标
*/
@property (nonatomic, assign) CGFloat frame_x;
/**
* y轴坐标
*/
@property (nonatomic, assign) CGF... | 14.854839 | 52 | 0.666667 |
511167c28b6b0dc9dc706f89e11d07a4b29a9ed2 | 2,041 | h | C | drace-client/include/symbol/Symbols.h | siemens/drace | 2679067783b1d8f39e4c370cd72a7626ebf5f8e8 | [
"MIT",
"MIT-0",
"BSD-3-Clause"
] | 32 | 2019-02-19T11:37:14.000Z | 2022-01-07T16:09:27.000Z | drace-client/include/symbol/Symbols.h | siemens/drace | 2679067783b1d8f39e4c370cd72a7626ebf5f8e8 | [
"MIT",
"MIT-0",
"BSD-3-Clause"
] | 86 | 2019-03-29T08:57:37.000Z | 2021-06-30T16:13:06.000Z | drace-client/include/symbol/Symbols.h | siemens/drace | 2679067783b1d8f39e4c370cd72a7626ebf5f8e8 | [
"MIT",
"MIT-0",
"BSD-3-Clause"
] | 4 | 2019-04-16T18:35:02.000Z | 2021-06-17T16:49:48.000Z | #pragma once
/*
* DRace, a dynamic data race detector
*
* Copyright 2018 Siemens AG
*
* Authors:
* Felix Moessbauer <felix.moessbauer@siemens.com>
*
* SPDX-License-Identifier: MIT
*/
#include <sstream>
#include <string>
#ifndef TESTING
#include <dr_api.h>
#include <drsyms.h>
#endif
#include "symbol/Symbol... | 26.166667 | 76 | 0.718275 |
f36bbd47db78394b814632e201f48a2d4fe4e452 | 230 | sql | SQL | sql/basic_select/weather_observation_station_1/mysql_source.sql | arthurdysart/HackerRank | 2835603c3da78ca85a963069b754b8cc7aedd5df | [
"Unlicense"
] | null | null | null | sql/basic_select/weather_observation_station_1/mysql_source.sql | arthurdysart/HackerRank | 2835603c3da78ca85a963069b754b8cc7aedd5df | [
"Unlicense"
] | null | null | null | sql/basic_select/weather_observation_station_1/mysql_source.sql | arthurdysart/HackerRank | 2835603c3da78ca85a963069b754b8cc7aedd5df | [
"Unlicense"
] | null | null | null | /*
HackerRank SQL: Weather Observation Station 1
https://www.hackerrank.com/challenges/weather-observation-station-1
Difficulty: easy
Created on Sun Oct 28 16:11:51 2018
@author: Arthur Dysart
*/
SELECT CITY, STATE
FROM STATION; | 20.909091 | 67 | 0.786957 |
0edc1945b73791121c4e39ec9068c090a1f54900 | 9,853 | h | C | src/art/art/Framework/Services/Registry/detail/helper_macros.h | JeffersonLab/ARIEL | 49054ac62a84d48e269f7171daabb98e12a0be90 | [
"BSD-3-Clause"
] | null | null | null | src/art/art/Framework/Services/Registry/detail/helper_macros.h | JeffersonLab/ARIEL | 49054ac62a84d48e269f7171daabb98e12a0be90 | [
"BSD-3-Clause"
] | null | null | null | src/art/art/Framework/Services/Registry/detail/helper_macros.h | JeffersonLab/ARIEL | 49054ac62a84d48e269f7171daabb98e12a0be90 | [
"BSD-3-Clause"
] | 2 | 2020-09-26T01:37:11.000Z | 2021-05-03T13:02:24.000Z | #ifndef art_Framework_Services_Registry_detail_helper_macros_h
#define art_Framework_Services_Registry_detail_helper_macros_h
// vim: set sw=2 expandtab :
#include "art/Framework/Services/Registry/ServiceScope.h"
#include "art/Framework/Services/Registry/detail/ServiceHandleAllowed.h"
#include "art/Framework/Services/... | 63.160256 | 80 | 0.403532 |
98523857c35638f7b4b831415c5a47dea8f66576 | 298 | kt | Kotlin | core/usecases/src/main/kotlin/theme/compareCharacterValues/CompareCharacterValues.kt | Soyle-Productions/soyle-stories | 1a110536865250dcd8d29270d003315062f2b032 | [
"Apache-2.0"
] | 7 | 2021-08-10T18:20:25.000Z | 2022-03-31T07:23:18.000Z | core/usecases/src/main/kotlin/theme/compareCharacterValues/CompareCharacterValues.kt | Soyle-Productions/soyle-stories | 1a110536865250dcd8d29270d003315062f2b032 | [
"Apache-2.0"
] | 37 | 2021-08-04T22:51:02.000Z | 2022-02-10T21:29:55.000Z | core/usecases/src/main/kotlin/theme/compareCharacterValues/CompareCharacterValues.kt | Soyle-Productions/soyle-stories | 1a110536865250dcd8d29270d003315062f2b032 | [
"Apache-2.0"
] | null | null | null | package com.soyle.stories.usecase.theme.compareCharacterValues
import java.util.*
interface CompareCharacterValues {
suspend operator fun invoke(themeId: UUID, output: OutputPort)
interface OutputPort {
suspend fun charactersCompared(response: CharacterValueComparison)
}
} | 22.923077 | 74 | 0.775168 |
36a3f530909ac0bb134bd44dbe921d455306e111 | 22 | rs | Rust | src/physics/mod.rs | kachark/mads | bcbb9d2d199c7cf67f1e7cef932dfaaf6ac396ae | [
"MIT"
] | null | null | null | src/physics/mod.rs | kachark/mads | bcbb9d2d199c7cf67f1e7cef932dfaaf6ac396ae | [
"MIT"
] | null | null | null | src/physics/mod.rs | kachark/mads | bcbb9d2d199c7cf67f1e7cef932dfaaf6ac396ae | [
"MIT"
] | null | null | null |
pub mod collisions;
| 5.5 | 19 | 0.727273 |
ceceab83803e09fc77cedb8b5aa8c26bc04c0fa1 | 8,524 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_st_4k_/i9-9900K_12_0xa0.log_21829_1084.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_st_4k_/i9-9900K_12_0xa0.log_21829_1084.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_st_4k_/i9-9900K_12_0xa0.log_21829_1084.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1bcd6, %rsi
lea addresses_UC_ht+0x14ad6, %rdi
clflush (%rsi)
nop
nop
add $46527, %r14
mov $87, %rcx
rep movsq
sub $21669, %r8
lea addresses_normal_ht+0xb856, %rsi
lea addresses_normal_h... | 30.33452 | 2,999 | 0.652863 |
700a38ec5004584048d3a76fc4b2e846a71398bc | 1,762 | lua | Lua | oop/image.lua | warcraft-iii/lib-stdlib | 4d98971a2755ba72dd855cf070068f85a0c56e55 | [
"MIT"
] | 3 | 2019-12-14T00:23:13.000Z | 2021-07-06T08:55:07.000Z | oop/image.lua | warcraft-iii/lib-stdlib | 4d98971a2755ba72dd855cf070068f85a0c56e55 | [
"MIT"
] | null | null | null | oop/image.lua | warcraft-iii/lib-stdlib | 4d98971a2755ba72dd855cf070068f85a0c56e55 | [
"MIT"
] | null | null | null | ---@type Image
local Image = require('lib.stdlib.oop._generated._image')
---<static> create
---@overload fun(file: string, size: Vector3, pos: Vector3, origin: Vector3, imageType: integer): Image
---@param file string
---@param sizeX float
---@param sizeY float
---@param sizeZ float
---@param posX float
---@param posY... | 31.464286 | 114 | 0.643587 |
140557749d7fcb44a64f95db57c80820a7e8226a | 2,561 | css | CSS | conteudo/contatos.css | Andreziin00/Menu-Responsivo | 780ea0f99f336bcb7e47317c1e599bb13619168b | [
"MIT"
] | null | null | null | conteudo/contatos.css | Andreziin00/Menu-Responsivo | 780ea0f99f336bcb7e47317c1e599bb13619168b | [
"MIT"
] | null | null | null | conteudo/contatos.css | Andreziin00/Menu-Responsivo | 780ea0f99f336bcb7e47317c1e599bb13619168b | [
"MIT"
] | null | null | null | @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
.footer * {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Oswald', sans-serif;
}
.footer {
display: flex;
justify-content: space-around;
align-items: center;
min-height... | 16.416667 | 118 | 0.656775 |
97be7afea19dabb858225c5f84c7514cde638172 | 1,574 | kt | Kotlin | jvm/src/main/kotlin/org/ionproject/core/userApi/klass/repr/UserKlassSectionListRepresentation.kt | i-on-project/core | 339407d56e66ec164ecdc4172347272d97cc26b3 | [
"Apache-2.0"
] | 7 | 2020-02-24T14:20:55.000Z | 2021-03-13T17:59:37.000Z | jvm/src/main/kotlin/org/ionproject/core/userApi/klass/repr/UserKlassSectionListRepresentation.kt | i-on-project/core | 339407d56e66ec164ecdc4172347272d97cc26b3 | [
"Apache-2.0"
] | 201 | 2020-02-22T16:11:44.000Z | 2022-02-28T01:49:15.000Z | jvm/src/main/kotlin/org/ionproject/core/userApi/klass/repr/UserKlassSectionListRepresentation.kt | i-on-project/core | 339407d56e66ec164ecdc4172347272d97cc26b3 | [
"Apache-2.0"
] | 1 | 2021-03-15T14:59:29.000Z | 2021-03-15T14:59:29.000Z | package org.ionproject.core.userApi.klass.repr
import org.ionproject.core.common.SirenBuilder
import org.ionproject.core.common.Uri
import org.ionproject.core.common.argumentResolvers.parameters.Pagination
import org.ionproject.core.userApi.klass.model.UserKlassSection
private data class ShortUserKlassSectionProps(
... | 34.977778 | 110 | 0.701398 |
5f1410e66518e2b1c00aee6be11eb38dfdacf80f | 8,408 | ts | TypeScript | panel/models/tabs.ts | sthagen/holoviz-panel | 9abae5ac78e55857ed209de06feae3439f2f533b | [
"BSD-3-Clause"
] | 601 | 2018-08-25T20:01:22.000Z | 2019-11-19T19:37:08.000Z | panel/models/tabs.ts | sthagen/holoviz-panel | 9abae5ac78e55857ed209de06feae3439f2f533b | [
"BSD-3-Clause"
] | 626 | 2018-08-27T16:30:33.000Z | 2019-11-20T17:02:00.000Z | panel/models/tabs.ts | sthagen/holoviz-panel | 9abae5ac78e55857ed209de06feae3439f2f533b | [
"BSD-3-Clause"
] | 73 | 2018-09-28T07:46:05.000Z | 2019-11-18T22:45:36.000Z | import {Grid, ContentBox, Sizeable} from "@bokehjs/core/layout"
import {div, size, children, display, undisplay, position, scroll_size} from "@bokehjs/core/dom"
import {sum, remove_at} from "@bokehjs/core/util/array"
import * as p from "@bokehjs/core/properties"
import {Tabs as BkTabs, TabsView as BkTabsView} from "@b... | 30.911765 | 121 | 0.633206 |
fe2be417f7d927bfb1deca81f53dd1df8d2dd802 | 413 | c | C | examples/arguments.c | mogenson/async.h | 41d45217019c4e1d12c986c36240d733c0d52a0c | [
"MIT"
] | 4 | 2021-02-07T15:20:36.000Z | 2022-02-20T01:43:31.000Z | examples/arguments.c | mogenson/async.h | 41d45217019c4e1d12c986c36240d733c0d52a0c | [
"MIT"
] | null | null | null | examples/arguments.c | mogenson/async.h | 41d45217019c4e1d12c986c36240d733c0d52a0c | [
"MIT"
] | null | null | null | #include "../async.h"
#include <stdio.h>
/* define an async task named print that takes two arguments */
ASYNC(print, char c, int i) {
BEGIN();
while (1) {
printf("c is '%c' and i is %d\n", c, i); // print arguments
YIELD();
}
END();
}
int main() {
char c = 'a';
int i = 0;
while (i < 10) {
... | 14.241379 | 63 | 0.527845 |
e784a1ad6a5ce3cea22a0e580fb3988a29399573 | 28,875 | js | JavaScript | packages/forms/src/UIForm/fields/Enumeration/EnumerationWidget.js | Gby56/ui | a0cbbb9685e559a841b391ad5c4b3e9fa58d022d | [
"Apache-2.0"
] | 140 | 2017-01-24T15:52:42.000Z | 2022-03-23T10:29:07.000Z | packages/forms/src/UIForm/fields/Enumeration/EnumerationWidget.js | Gby56/ui | a0cbbb9685e559a841b391ad5c4b3e9fa58d022d | [
"Apache-2.0"
] | 3,451 | 2017-01-24T16:31:50.000Z | 2022-03-31T15:35:10.000Z | packages/forms/src/UIForm/fields/Enumeration/EnumerationWidget.js | Gby56/ui | a0cbbb9685e559a841b391ad5c4b3e9fa58d022d | [
"Apache-2.0"
] | 61 | 2017-01-26T08:59:42.000Z | 2022-03-16T04:44:51.000Z | import PropTypes from 'prop-types';
import React from 'react';
import keycode from 'keycode';
import _isEmpty from 'lodash/isEmpty';
import Enumeration from '@talend/react-components/lib/Enumeration';
import classNames from 'classnames';
import { withTranslation } from 'react-i18next';
import FocusManager from '@talend... | 27.163688 | 103 | 0.667671 |
b646368a3ada00a16191f2ae9605e9740e6ccabe | 249 | rb | Ruby | spec/controller/new/new_spec.rb | TurkeyLeg0403/my_help | b235e7bef2759b4c9bffb71d8f84b6f498c53717 | [
"MIT"
] | 7 | 2019-12-11T06:40:18.000Z | 2021-03-31T23:56:02.000Z | spec/controller/new/new_spec.rb | TurkeyLeg0403/my_help | b235e7bef2759b4c9bffb71d8f84b6f498c53717 | [
"MIT"
] | 93 | 2016-11-11T01:22:53.000Z | 2021-12-07T23:57:24.000Z | spec/controller/new/new_spec.rb | TurkeyLeg0403/my_help | b235e7bef2759b4c9bffb71d8f84b6f498c53717 | [
"MIT"
] | 67 | 2016-11-02T04:52:47.000Z | 2021-12-07T04:01:44.000Z | require 'spec_helper'
require 'my_help'
RSpec.describe 'new option sample' do
context "#new" do
it "make file sample_new.yml" do
expect(command_line((MyHelp::Control.new.init_help('sample')).to_s).success?).to be true
end
end
end
| 22.636364 | 94 | 0.706827 |
72a8ffc67f7015463b7a403698ccd3393e8284ee | 2,736 | kt | Kotlin | app/src/main/java/pl/jergro/shopinglist/ui/dialogs/AddOrUpdateProductDialog.kt | DeLaiT/Shopping-List-Android | 1e99a2b6a8889e4defb3f3bf85e101593fd15723 | [
"MIT"
] | 2 | 2019-05-19T16:13:39.000Z | 2019-06-23T17:20:27.000Z | app/src/main/java/pl/jergro/shopinglist/ui/dialogs/AddOrUpdateProductDialog.kt | DeLaiT/Shopping-List-Android | 1e99a2b6a8889e4defb3f3bf85e101593fd15723 | [
"MIT"
] | 7 | 2019-06-30T16:29:11.000Z | 2019-07-26T17:31:30.000Z | app/src/main/java/pl/jergro/shopinglist/ui/dialogs/AddOrUpdateProductDialog.kt | DeLaiT/Shopping-List-Android | 1e99a2b6a8889e4defb3f3bf85e101593fd15723 | [
"MIT"
] | 1 | 2019-07-01T19:43:56.000Z | 2019-07-01T19:43:56.000Z | package pl.jergro.shopinglist.ui.dialogs
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.widget.Toast
import androidx.databinding.DataBindingUtil
import pl.jergro.shopinglist.R
import pl.jergro.shopinglist.databinding.DialogAddProductBinding
import pl.jergro.sh... | 31.448276 | 96 | 0.60636 |
992941e52b0d46b1257504d4364056527105fdfc | 3,434 | h | C | Projects/NUCLEO-WL55JC/Applications/SBSFU_2_Images_DualCore/2_Images_SBSFU/CM0PLUS/SBSFU/App/sfu_interface_crypto_scheme.h | 0hotpotman0/RoLa_STM32Cube | fe09ff4db46d31582b8fc06cf63b560f8543f2cc | [
"MIT"
] | 1 | 2022-03-30T09:53:52.000Z | 2022-03-30T09:53:52.000Z | cores/STM32WLE/external/STM32CubeWL/Projects/NUCLEO-WL55JC/Applications/Sigfox_SBSFU_1_Slot_DualCore/2_Images_SBSFU/CM0PLUS/SBSFU/App/sfu_interface_crypto_scheme.h | RAKWireless/RAK-STM32-RUI | 1b39ae89d3cb90a54d6bf71c7bf8da7ea5db0f4f | [
"BSD-3-Clause"
] | null | null | null | cores/STM32WLE/external/STM32CubeWL/Projects/NUCLEO-WL55JC/Applications/Sigfox_SBSFU_1_Slot_DualCore/2_Images_SBSFU/CM0PLUS/SBSFU/App/sfu_interface_crypto_scheme.h | RAKWireless/RAK-STM32-RUI | 1b39ae89d3cb90a54d6bf71c7bf8da7ea5db0f4f | [
"BSD-3-Clause"
] | 1 | 2021-09-25T16:44:11.000Z | 2021-09-25T16:44:11.000Z | /**
******************************************************************************
* @file sfu_interface_crypto_scheme.c
* @author MCD Application Team
* @brief Secure Engine Interface module.
* This file provides set of firmware functions to manage SE Interface
* functionalities. Th... | 46.405405 | 119 | 0.67385 |
91f56f833ee1b7d1f5a6ae522a2a40a6a3a2a2a9 | 390 | sql | SQL | src/main/resources/org/docksidestage/compilespeed/dbflute/exbhv/whitebox/pmcomment/MemberBhv_selectPmCommentOrderByIf.sql | dbflute-test/dbflute-test-env-compilespeed | 6f8742c804f3b6fed43c172fc6450c70a21348d3 | [
"Apache-2.0"
] | null | null | null | src/main/resources/org/docksidestage/compilespeed/dbflute/exbhv/whitebox/pmcomment/MemberBhv_selectPmCommentOrderByIf.sql | dbflute-test/dbflute-test-env-compilespeed | 6f8742c804f3b6fed43c172fc6450c70a21348d3 | [
"Apache-2.0"
] | null | null | null | src/main/resources/org/docksidestage/compilespeed/dbflute/exbhv/whitebox/pmcomment/MemberBhv_selectPmCommentOrderByIf.sql | dbflute-test/dbflute-test-env-compilespeed | 6f8742c804f3b6fed43c172fc6450c70a21348d3 | [
"Apache-2.0"
] | null | null | null | /*
[df:title]
IF comment for order-by
[df:description]
see you tomorrowB
*/
-- #df:entity#
-- !df:pmb!
-- !!AutoDetect!!
select member.MEMBER_ID
, member.MEMBER_NAME
, member.MEMBER_ACCOUNT
from MEMBER member
/*BEGIN*/
order by
/*IF pmb.orderByMemberId*/
member.MEMBER_ID asc
/*END*/
/*IF pmb.... | 15 | 32 | 0.661538 |
761d573eab4d4a62118be3471b1c49ef2ee5578e | 294 | sql | SQL | group-work-2/phase.7.sql | yuetsin/SE-223 | 76c932d2cd296a752256fcaeaf3c3f7873e520ea | [
"MIT"
] | null | null | null | group-work-2/phase.7.sql | yuetsin/SE-223 | 76c932d2cd296a752256fcaeaf3c3f7873e520ea | [
"MIT"
] | null | null | null | group-work-2/phase.7.sql | yuetsin/SE-223 | 76c932d2cd296a752256fcaeaf3c3f7873e520ea | [
"MIT"
] | null | null | null | DELIMITER //
DROP PROCEDURE IF EXISTS `add_balance`;
CREATE PROCEDURE `add_balance` (
`check_username` VARCHAR(50),
`add_balance_count` DECIMAL(20, 2)
)
BEGIN
UPDATE user_attributes
SET `balance` = `balance` + `add_balance_count`
WHERE `username` = `check_username`;
END //
DELIMITER ; | 19.6 | 48 | 0.734694 |
9a3b93bf01eecfc0605b287baa2cda44bde5a2f4 | 574 | css | CSS | src/Devices.css | TonyLuque/front_manage_tool | c14c45efe4a8b98dc2c1a32d17cbf28f513d49f5 | [
"MIT"
] | null | null | null | src/Devices.css | TonyLuque/front_manage_tool | c14c45efe4a8b98dc2c1a32d17cbf28f513d49f5 | [
"MIT"
] | null | null | null | src/Devices.css | TonyLuque/front_manage_tool | c14c45efe4a8b98dc2c1a32d17cbf28f513d49f5 | [
"MIT"
] | null | null | null | .container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
padding-top: 60px;
}
.listContainer {
border: 2px solid #fff;
border-radius: 8px;
width: 90%;
margin-bottom: 40px;
}
.listItem {
display: grid;
grid-template-columns: ... | 15.513514 | 61 | 0.662021 |
4588308a2efff32edc03d40aca1bb690de7b1505 | 956 | swift | Swift | Sources/DocuSignAPI/Models/BrandRequest.swift | myhealthily/DocuSignAPI.swift | f08d5bf7114d1dfb6bd801d19e6f0c968d783397 | [
"Apache-2.0"
] | null | null | null | Sources/DocuSignAPI/Models/BrandRequest.swift | myhealthily/DocuSignAPI.swift | f08d5bf7114d1dfb6bd801d19e6f0c968d783397 | [
"Apache-2.0"
] | null | null | null | Sources/DocuSignAPI/Models/BrandRequest.swift | myhealthily/DocuSignAPI.swift | f08d5bf7114d1dfb6bd801d19e6f0c968d783397 | [
"Apache-2.0"
] | null | null | null | //
// BrandRequest.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import AnyCodable
import Foundation
import Vapor
/** This request object contains information about a specific brand. */
public final class BrandRequest: Content, Hashable {
/** The id of the brand. */
public va... | 23.9 | 74 | 0.670502 |
994ba3ff8bf1656d864db0e59690ad3447d18438 | 66,764 | h | C | bsp/TC264D/Libraries/infineon_libraries/Infra/Sfr/TC26B/_Reg/IfxCan_bf.h | GorgonMeducer/pikascript | fefe9afb17d14c1a3bbe75c4c6a83d65831f451e | [
"MIT"
] | 228 | 2021-09-11T06:09:43.000Z | 2022-03-30T08:09:01.000Z | bsp/TC264D/Libraries/infineon_libraries/Infra/Sfr/TC26B/_Reg/IfxCan_bf.h | GorgonMeducer/pikascript | fefe9afb17d14c1a3bbe75c4c6a83d65831f451e | [
"MIT"
] | 48 | 2021-09-25T01:23:43.000Z | 2022-03-31T07:34:43.000Z | bsp/TC264D/Libraries/infineon_libraries/Infra/Sfr/TC26B/_Reg/IfxCan_bf.h | GorgonMeducer/pikascript | fefe9afb17d14c1a3bbe75c4c6a83d65831f451e | [
"MIT"
] | 31 | 2021-09-17T12:06:45.000Z | 2022-03-19T16:10:11.000Z | /**
* \file IfxCan_bf.h
* \brief
* \copyright Copyright (c) 2015 Infineon Technologies AG. All rights reserved.
*
* Version: TC26XB_UM_V1.2.R0
* Specification: tc26xB_um_v1.2_MCSFR.xml (Revision: UM_V1.2)
* MAY BE CHANGED BY USER [yes/no]: No
*
* IMPORTANT NOTICE
*
* Infineon ... | 30.141761 | 80 | 0.762027 |
ab6672693c1560059a1e5e900b01f074b9720404 | 1,412 | swift | Swift | Examples/Sample-SwiftUI/iOS/Views/LoggedOutView.swift | radupurdea/intercom-ios | 1c323236d2538511059c3f950a2dda0227430704 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Examples/Sample-SwiftUI/iOS/Views/LoggedOutView.swift | radupurdea/intercom-ios | 1c323236d2538511059c3f950a2dda0227430704 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Examples/Sample-SwiftUI/iOS/Views/LoggedOutView.swift | radupurdea/intercom-ios | 1c323236d2538511059c3f950a2dda0227430704 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | //
// LoggedOutView.swift
// Sample-SwiftUI (iOS)
//
// Created by Michael McNamara on 08/09/2020.
//
import SwiftUI
import Intercom
struct LoggedOutView: View {
@Binding var userHash: String
@Binding var userId: String
@Binding var loggedIn: Bool
var body: some View {
VStack(spacing... | 28.816327 | 93 | 0.639518 |