content stringlengths 4 1.04M | lang stringclasses 358
values | score int64 0 5 | repo_name stringlengths 5 114 | repo_path stringlengths 4 229 | repo_licenses listlengths 1 8 |
|---|---|---|---|---|---|
import { danger, peril } from "danger"
import { IncomingWebhook, IncomingWebhookSendArguments } from "@slack/client"
const org = "gatsbyjs"
const label = "stale?"
/**
* A task that accepts Slack incoming webhook data
* and sends a message into the Artsy Dev chat room.
*
* The full API docs for the syntax of the e... | TypeScript | 5 | JQuinnie/gatsby | peril/tasks/slack-experiment.ts | [
"MIT"
] |
export NO_SLOW_TESTS=1
for d in */all.do */test.do; do
echo "${d%.do}"
done | xargs redo-ifchange
| Stata | 3 | BlameJohnny/redo | docs/cookbook/all.do | [
"Apache-2.0"
] |
' movemouse.bmx
' demonstrates using the mouse as a proportional controller
' by locking the mouse to the center of the screen and reporting
' MouseXSpeed and MouseYSpeed variables
Global MouseXSpeed,MouseYSpeed
Function SampleMouse()
MouseXSpeed=MouseX()-320
MouseYSpeed=MouseY()-240
MoveMouse 320,240
End Functi... | BlitzMax | 4 | jabdoa2/blitzmax | mod/brl.mod/polledinput.mod/doc/movemouse.bmx | [
"Zlib"
] |
Date,Open,High,Low,Close,Volume
9-Jul-12,9.46,9.47,9.31,9.45,37441545
6-Jul-12,9.47,9.52,9.40,9.50,30362984
5-Jul-12,9.67,9.74,9.53,9.57,31783831
3-Jul-12,9.53,9.79,9.49,9.60,49629310
2-Jul-12,9.50,9.60,9.30,9.39,63406824
29-Jun-12,9.95,9.98,9.46,9.59,138158551
28-Jun-12,9.93,10.09,9.93,10.09,38649023
27-Jun-12,10.05,... | CSV | 1 | henryqdineen/RxJS | examples/stockserver/F.csv | [
"Apache-2.0"
] |
#! /bin/sh -e
# DP: - Add /usr/lib/jni to java.library.path.
# DP: - When running the i386 binaries on amd64, look in
# DP: - /usr/lib32/gcj-x.y and /usr/lib32/jni instead.
dir=
if [ $# -eq 3 -a "$2" = '-d' ]; then
pdir="-d $3"
dir="$3/"
elif [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -pat... | Darcs Patch | 4 | JrCs/opendreambox | recipes/gcc/gcc-4.3.4/debian/libjava-jnipath.dpatch | [
"MIT"
] |
import React from 'react'
import { render } from 'react-dom'
import { renderToString } from 'react-dom/server'
import { NextPage } from 'next'
const Page: NextPage<{ html: string }> = ({ html }) =>
html ? (
<>
<p>saved:</p>
<div dangerouslySetInnerHTML={{ __html: html }} />
</>
) : (
<p>Hel... | TypeScript | 3 | blomqma/next.js | test/integration/app-tree/pages/hello.tsx | [
"MIT"
] |
--TEST--
IntlCalendar::inDaylightTime() basic test
--INI--
date.timezone=Atlantic/Azores
--EXTENSIONS--
intl
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);
ini_set("intl.default_locale", "nl");
$intlcal = IntlCalendar::createInstance('Europe/Amsterdam');
$intlcal->setTime(strtotime('2012-01-01') * 1000);
var_d... | PHP | 3 | NathanFreeman/php-src | ext/intl/tests/calendar_inDaylightTime_basic.phpt | [
"PHP-3.01"
] |
CONFIG -= qt
CONFIG += \
depend_includepath \
debug
QMAKE_CXXFLAGS += -fno-inline
# Create a directory for each test.
DESTDIR = $${TARGET}
OBJECTS_DIR = $${TARGET}
UBLAS_TESTSET = \
USE_DOUBLE USE_STD_COMPLEX \
USE_RANGE USE_SLICE \
USE_UNBOUNDED_ARRAY USE_STD_VECTOR USE_BOUNDED_VECTOR USE_MATRIX
... | QMake | 3 | shreyasvj25/turicreate | deps/src/boost_1_65_1/libs/numeric/ublas/IDEs/qtcreator/test/configuration.pri | [
"BSD-3-Clause"
] |
# This file is a part of Julia. License is MIT: https://julialang.org/license
module XoshiroSimd
# Getting the xoroshiro RNG to reliably vectorize is somewhat of a hassle without Simd.jl.
import ..Random: TaskLocalRNG, rand, rand!, Xoshiro, CloseOpen01, UnsafeView,
SamplerType, SamplerTrivial
using Ba... | Julia | 5 | jonas-schulze/julia | stdlib/Random/src/XoshiroSimd.jl | [
"MIT"
] |
---
layout: post
title: "Talking About Sets"
date: 2013-03-26 16:12
comments: true
external-url:
categories: basic measures sets
author: Ranjit Jhala
published: true
demo: TalkingAboutSets.hs
---
In the posts so far, we've seen how LiquidHaskell allows you to use SMT
solvers to specify and verify *numeric* invariant... | Literate Haskell | 5 | curiousleo/liquidhaskell | docs/blog/2013-03-26-talking-about-sets.lhs | [
"MIT",
"BSD-3-Clause"
] |
{ lib, buildDunePackage, fetchFromGitHub }:
buildDunePackage rec {
pname = "minisat";
version = "0.4";
useDune2 = true;
minimumOCamlVersion = "4.05";
src = fetchFromGitHub {
owner = "c-cube";
repo = "ocaml-minisat";
rev = "v${version}";
sha256 = "009jncrvnl9synxx6jnm6gp0cs7zlj71z22zz... | Nix | 3 | siddhantk232/nixpkgs | pkgs/development/ocaml-modules/minisat/default.nix | [
"MIT"
] |
(source (list_lit) @fold)
| Scheme | 1 | hmac/nvim-treesitter | queries/commonlisp/folds.scm | [
"Apache-2.0"
] |
/* generated by Svelte vX.Y.Z */
import {
SvelteComponent,
add_render_callback,
create_in_transition,
detach,
element,
empty,
init,
insert,
noop,
safe_not_equal,
transition_in
} from "svelte/internal";
function create_if_block(ctx) {
let if_block_anchor;
let if_block = /*y*/ ctx[1] && create_if_block_1(ct... | JavaScript | 4 | vatro/svelte | test/js/samples/transition-local/expected.js | [
"MIT"
] |
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
if ! [[ -n "${LUCENE_MODULE}" ]]; then LUCENE_MODULE=${PN/lucene-/}; fi
JAVA_PKG_IUSE="source test"
JAVA_PKG_BSFIX_ALL="no"
#WANT_SPLIT_ANT="true" ?
inherit java-pkg-2 java-ant-2
HOMEPAGE="... | Gentoo Eclass | 4 | yamadharma/gentoo-portage-local | eclass/lucene-contrib.eclass | [
"CC-BY-4.0"
] |
DROP DATABASE IF EXISTS %DB_NAME%;
CREATE DATABASE %DB_NAME% CHARACTER SET utf8 COLLATE utf8_general_ci;
/* GRANT ALL ON *.* TO mirroroffice@localhost IDENTIFIED BY "mirroroffice"; */
| Clean | 3 | guoguolong/rocket | sql/rocket.dcl | [
"MIT"
] |
// Daniel Shiffman
// http://codingtra.in
// XOR
// https://youtu.be/188B6k_F9jU
// Neural Network Library
// https://github.com/CodingTrain/Toy-Neural-Network-JS
class trainingdata {
float[] inputs;
float[] target;
trainingdata(float i, float j, float goal) {
inputs = new float[2];
inputs[0] = i;
... | Processing | 4 | aerinkayne/website | CodingChallenges/CC_092_xor/Processing/CC_092_xor/data.pde | [
"MIT"
] |
%% ``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
%% distribute... | Erlang | 5 | jjhoo/otp | lib/dialyzer/test/options1_SUITE_data/src/compiler/core_lib.erl | [
"Apache-2.0"
] |
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit vim-plugin git-r3
DESCRIPTION="vim plugin: racer support"
HOMEPAGE="https://github.com/racer-rust/vim-racer"
LICENSE="MIT"
KEYWORDS=""
IUSE=""
EGIT_REPO_URI="https://github.com/racer-rust/vim-rac... | Gentoo Ebuild | 4 | gentoo/gentoo-rust | app-vim/vim-racer/vim-racer-9999.ebuild | [
"BSD-3-Clause"
] |
# git branch
> Comando Git principal para trabajar con ramas.
> Más información: <https://git-scm.com/docs/git-branch>.
- Muestra las ramas locales. La rama actual está resaltada por `*`:
`git branch`
- Muestra todas las ramas (locales y remotas):
`git branch -a`
- Muestra el nombre de la rama actual:
`git branc... | Markdown | 4 | derNiklaas/tldr | pages.es/common/git-branch.md | [
"CC-BY-4.0"
] |
# This file is a part of Julia. License is MIT: https://julialang.org/license
## dummy stub for https://github.com/JuliaBinaryWrappers/Zlib_jll.jl
baremodule Zlib_jll
using Base, Libdl
Base.Experimental.@compiler_options compile=min optimize=0 infer=false
const PATH_list = String[]
const LIBPATH_list = String[]
expo... | Julia | 4 | jonas-schulze/julia | stdlib/Zlib_jll/src/Zlib_jll.jl | [
"MIT"
] |
stocks
load aapl
ta
view
recom
ema
sma
wma
hma
zlma
vwap
cci
macd
rsi
stoch
fisher
cg
adx
aroon
bbands
donchian
kc
ad
adosc
obv
fib
exit | Gosu | 1 | minhhoang1023/GamestonkTerminal | scripts/test_stocks_ta.gst | [
"MIT"
] |
=head1 INFORMATION
This example shows the usage of C<Stream::read_bytes>.
=head1 FUNCTIONS
=over 4
=item _main
=cut
.sub _main :main
.local pmc stream
load_bytecode "library/Stream/Sub.pir"
load_bytecode "library/Stream/Replay.pir"
find_type $I0, "Stream::Sub"
new $P0, $I0
# set the str... | Parrot Internal Representation | 5 | dolmen/p5-ack2 | t/swamp/parrot.pir | [
"Artistic-2.0"
] |
%
% simplify a boolean expression of the form A*B+C*D...
%
:- module(simplify_boolean,
[simplify_exp/2]).
%simplify_exp(V,V) :- writeln(V), fail, !.
simplify_exp(V,V) :- var(V), !.
simplify_exp(S1+S2,NS) :- !,
simplify_exp(S1, SS1),
simplify_exp(S2, SS2),
simplify_sum(SS1, SS2, NS).
simplify_exp(S1*S2,NS) :- !,... | Prolog | 4 | ryandesign/yap | packages/bdd/simpbool.yap | [
"Artistic-1.0-Perl",
"ClArtistic"
] |
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "Lice... | Shell | 3 | kesavanvt/spark | dev/tests/pr_merge_ability.sh | [
"BSD-2-Clause",
"Apache-2.0",
"CC0-1.0",
"MIT",
"MIT-0",
"ECL-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
/*
* Copyright 2014 The Sculptor Project Team, including the original
* author or 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/L... | Xtend | 4 | sculptor/sculptor | sculptor-cartridges/sculptor-cartridge-mongodb/src/main/java/org/sculptor/generator/cartridge/mongodb/ServiceTmplExtension.xtend | [
"Apache-2.0"
] |
"asJson print exSlice(1, -1) println"asJson print exSlice(1, -1) println
| Io | 0 | MakeNowJust/quine | quine.io | [
"Beerware"
] |
// compile-flags: -C no-prepopulate-passes
// ignore-wasm32-bare compiled with panic=abort by default
#![crate_type = "lib"]
#![feature(c_unwind)]
extern "C" {
// CHECK: Function Attrs:{{.*}}nounwind
// CHECK-NEXT: declare{{.*}}void @extern_fn
fn extern_fn();
}
extern "C-unwind" {
// CHECK-NOT: nounw... | Rust | 4 | mbc-git/rust | src/test/codegen/unwind-extern-imports.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
package io.swagger.model;
import groovy.transform.Canonical
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@Canonical
class Amount {
/* some description */
Double value = null
String currency = null
}
| Groovy | 4 | Nirostar/swagger-codegen | samples/client/petstore/groovy/src/main/groovy/io/swagger/model/Amount.groovy | [
"Apache-2.0"
] |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
Describe "Write-Host with default Console Host" -Tags "Slow","Feature" {
BeforeAll {
$powershell = Join-Path -Path $PSHOME -ChildPath "pwsh"
$testData = @(
@{ Name = '-Separator'; Command = "Write-Host a,b,c... | PowerShell | 5 | rdtechie/PowerShell | test/powershell/Modules/Microsoft.PowerShell.Utility/Write-Host.Tests.ps1 | [
"MIT"
] |
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*
* Implementation of this file has been influenced by AtlasPHP
*
* @link https://gith... | Zephir | 5 | tidytrax/cphalcon | phalcon/DataMapper/Pdo/ConnectionLocator.zep | [
"BSD-3-Clause"
] |
"seq" "60 62 64 67" gen_vals
4 metro 1 "seq" tseq
mtof 0.01 port 0.1 saw
1000 0.1 moogladder
| SourcePawn | 1 | aleatoricforest/Sporth | examples/port.sp | [
"MIT"
] |
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 http://mozilla.org/MPL/2.0/.
*
* The origin of this WebIDL file i... | WebIDL | 4 | tlively/wasm-bindgen | crates/web-sys/webidls/enabled/BasicCardPayment.webidl | [
"Apache-2.0",
"MIT"
] |
{% if grains['os'] == 'Windows' %}
{% set result = 'c:\salt\conf' | list_files() %}
{% else %}
{% set result = '/bin' | list_files() %}
{% endif %}
{% include 'jinja_filters/common.sls' %}
| SaltStack | 3 | byteskeptical/salt | tests/integration/files/file/base/jinja_filters/files_list_files.sls | [
"Apache-2.0"
] |
{{#datatypeWithEnum}}{{operationId}}{{^isContainer}}{{.}}{{/isContainer}}{{#isContainer}}{{{items.datatypeWithEnum}}}{{/isContainer}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}} | HTML+Django | 1 | MalcolmScoffable/openapi-generator | modules/openapi-generator/src/main/resources/csharp-nancyfx/innerApiEnumName.mustache | [
"Apache-2.0"
] |
#world {
raster-colorizer-stops:
stop(0,#000)
stop(1000, #00f)
stop(2000, #0ff)
stop(3000, #ff0)
stop(4000, #f00);
}
| CartoCSS | 3 | nimix/carto | test/rendering/raster_colorizer_comma.mss | [
"Apache-2.0"
] |
module ciena-waveserver-system {
namespace "urn:ciena:params:xml:ns:yang:ciena-ws:ciena-waveserver-system";
prefix system;
import ciena-waveserver-typedefs {
prefix cienawstypes;
}
organization
"Ciena Corporation";
contact
"Web URL: http://www.ciena.com/
Postal: 7035 Ridge Road
... | YANG | 5 | meodaiduoi/onos | models/ciena/waveserverai/src/main/yang/ciena-waveserver-system@2018-01-04.yang | [
"Apache-2.0"
] |
<span class="mentionable-person" gid="<%= person.to_gid %>">
<%= person.name %>
</span>
| HTML+ERB | 3 | mdesantis/rails | actiontext/test/dummy/app/views/people/_trix_content_attachment.html.erb | [
"MIT"
] |
CREATE INDEX event_log_created_at_idx ON hdb_catalog.event_log (created_at);
| SQL | 3 | gh-oss-contributor/graphql-engine-1 | server/src-rsr/migrations/32_to_33.sql | [
"Apache-2.0",
"MIT"
] |
{% set list_one = ['a', 'b', 'c', 'd'] %}
{% set result = list_one | json_encode_list() %}
{% include 'jinja_filters/common.sls' %}
| SaltStack | 3 | byteskeptical/salt | tests/integration/files/file/base/jinja_filters/data_encode_list.sls | [
"Apache-2.0"
] |
\require "a"
| LilyPond | 0 | HolgerPeters/lyp | spec/user_files/circular.ly | [
"MIT"
] |
/*
* Copyright (c) 2017, Lee Keitel
* This file is released under the BSD 3-Clause license.
*
* This file demonstrates for loops including the use of continue and break
*/
const main = fn() {
// This loop will go 10 times (0-9) but break on 5 and skip 2
for i = 0; i < 10; i += 1 {
// Loops run in ... | Inform 7 | 5 | lfkeitel/nitrogen | examples/loops.ni | [
"BSD-3-Clause"
] |
<template>
<div class="d-flex flex-column justify-space-between align-center">
<v-slider
v-model="width"
class="align-self-stretch"
min="200"
max="500"
step="1"
></v-slider>
<v-img
:aspect-ratio="16/9"
:width="width"
src="https://cdn.vuetifyjs.com/images/pa... | Vue | 4 | mark-gene/vuetify | packages/docs/src/examples/v-img/prop-aspect-ratio.vue | [
"MIT"
] |
-record(torrent_info, { tracker_url :: binary(),
info_hash :: binary(),
name :: string(),
piece_length :: pos_integer(),
total_length :: pos_integer(),
num_pieces :: pos_integer(),
piece_hashes :: binary()
... | Erlang | 4 | adlerliu/500lines | incomplete/torrent_client/src/torrent.hrl | [
"CC-BY-3.0"
] |
Not a real COM file.
| DIGITAL Command Language | 1 | jjhoo/otp | lib/kernel/test/os_SUITE_data/win32/current/my_command.com | [
"Apache-2.0"
] |
class Dice
"""
A simple dice roller.
"""
var r: Random
new create(from: Random) =>
"""
Initialise with a random number generator.
"""
r = from
fun ref apply(count: U64, sides: U64): U64 =>
"""
Return the sum of `count` rolls of a die with the given number of `sides`.
The die is... | Pony | 4 | presidentbeef/ponyc | packages/random/dice.pony | [
"BSD-2-Clause"
] |
mirror([ 0, 1, 0 ])
translate([5, 0, -5])
cube(size=[10, 10, 10], center=false); | OpenSCAD | 3 | heristhesiya/OpenJSCAD.org | packages/io/scad-deserializer/tests/transformations/mirrorEx1.scad | [
"MIT"
] |
A ← 3 2 ⍴ ⍳ 5 ⋄ B ← ⍉ A
a ← ⍴B
b ← 1
c ← b,0
x ← b↓a
y ← ⍴A
WA ← x,y
+/WA | APL | 2 | mbudde/apltail | tests/test25.apl | [
"MIT"
] |
# RUN: llc -O0 -mtriple arm-linux-gnueabi -mattr=+hwdiv-arm -run-pass=legalizer %s -o - | FileCheck %s -check-prefixes=CHECK,HWDIV
# RUN: llc -O0 -mtriple arm-linux-gnueabi -mattr=-hwdiv-arm -run-pass=legalizer %s -o - | FileCheck %s -check-prefixes=CHECK,SOFT,SOFT-AEABI,ARM-AEABI
# RUN: llc -O0 -mtriple arm-linux-gnu ... | Mirah | 5 | medismailben/llvm-project | llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-divmod.mir | [
"Apache-2.0"
] |
#
# Copyright 2014 (c) Pointwise, Inc.
# All rights reserved.
#
# This sample script is not supported by Pointwise, Inc.
# It is provided freely for demonstration purposes only.
# SEE THE WARRANTY DISCLAIMER AT THE BOTTOM OF THIS FILE.
#
#
# ============================================================================
... | Glyph | 5 | smola/language-dataset | data/github.com/pointwise/VSP2CFD/986d6b8ea10ecc7cc2bc9e79c2859f6f40638ca2/VSP2CFD.glf | [
"MIT"
] |
# coding: utf-8
from __future__ import unicode_literals
from .brightcove import BrightcoveNewIE
from .common import InfoExtractor
from ..compat import compat_str
from ..utils import (
int_or_none,
js_to_json,
smuggle_url,
try_get,
)
class NoovoIE(InfoExtractor):
_VALID_URL = r'https?://(?:[^/]+\.... | Python | 4 | hackarada/youtube-dl | youtube_dl/extractor/noovo.py | [
"Unlicense"
] |
- dashboard: operational_account_activity
title: Operational Account Activity
layout: newspaper
elements:
- name: Top AWS Event Errors
title: Top AWS Event Errors
model: aws_athena_cloudtrail
explore: cloudtrail_logs
type: table
fields:
- cloudtrail_logs.count
- cloudtrail_logs.event... | LookML | 4 | voltagebots/aws_cloudtrail_block | operational_account_activity.dashboard.lookml | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | CSS | 2 | sbj42/vscode | src/vs/workbench/contrib/interactive/browser/media/interactive.css | [
"MIT"
] |
#include <oxstd.oxh>
#include <oxfloat.oxh>
#import <switching>
///////////////////////////////////////////////////////////////////////
//
class GaussianMix
{
GaussianMix(const mData, const cS);
static Generate(const cN, const vProb, const avMu, const avSD);
static MapToArgs(const vP, const cS, const cP... | Ox | 5 | doornik/Ox-SwitchingAcceleration | switching_gxm.ox | [
"MIT"
] |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="20dp"
android:height="20dp"
android:viewportWidth="20"
android:viewportHeight="20"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M15.5,3h-3.57c-... | XML | 3 | Imudassir77/material-design-icons | android/action/assignment_turned_in/materialiconsround/black/res/drawable/round_assignment_turned_in_20.xml | [
"Apache-2.0"
] |
/* Copyright 2015 The TensorFlow 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 applicable law or a... | C++ | 5 | yage99/tensorflow | tensorflow/core/graph/optimizer_cse.cc | [
"Apache-2.0"
] |
D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-RF_size-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
00000000 <_start>:
0: 04c0006f j 4c <reset_vector>
00000004 <trap_vector>:
4: 34202f73 csrr t5,mcause
8: 00800f93 li t6,... | ObjDump | 4 | DuBirdFly/TinyRISCV_Learn | tests/riscv-compliance/build_generated/rv32i/I-RF_size-01.elf.objdump | [
"Apache-2.0"
] |
<template>
<div>
<app-title
v-if="path"
:path="path"
class="mb-0 pl-1"
/>
<v-item-group
v-model="internalValue"
class="mx-auto row row--dense"
mandatory
>
<v-col
v-for="({ icon, text }) in items"
:key="text"
cols="6"
>
<v... | Vue | 4 | mark-gene/vuetify | packages/docs/src/layouts/default/settings/Group.vue | [
"MIT"
] |
#! /bin/sh -e
# DP: gjar: support @ arguments.
dir=
if [ $# -eq 3 -a "$2" = '-d' ]; then
pdir="-d $3"
dir="$3/"
elif [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch)
patch $pdir -f --no-backup-if-mismatch -p0 < $0
uudec... | Darcs Patch | 3 | JrCs/opendreambox | recipes/gcc/gcc-4.3.4/debian/libjava-jar.dpatch | [
"MIT"
] |
; Kovri Installer for Windows
; Copyright (c) 2017, The Kovri I2P Router Project
; See LICENSE
; This is the common script code for both the 64 bit and the 32 bit installer,
; configured with the help of the compile-time constant "Bitness"
#define RootDir "..\..\.."
[Setup]
AppName=Kovri I2P Router
AppVer... | Inno Setup | 5 | byterubpay/kovri | pkg/installers/windows/Common.iss | [
"BSD-3-Clause"
] |
// Original source:
// http://www.zorinaq.com/papers/md5-amd64.html
// http://www.zorinaq.com/papers/md5-amd64.tar.bz2
//
// Translated from Perl generating GNU assembly into
// #defines generating 6a assembly by the Go Authors.
#include "textflag.h"
// MD5 optimized for AMD64.
//
// Author: Marc Bevand <bevand_m (at... | GAS | 3 | SSSDNSY/go | src/crypto/md5/md5block_amd64.s | [
"BSD-3-Clause"
] |
Launch Server
=============
Copyright (C) 2015, Bill Burdick, Roy Riggs, TEAM CTHULHU
SockJS bindings for OT
Licensed with ZLIB license.
=============================
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from t... | Literate CoffeeScript | 4 | zot/Leisure | src/lib/ot/launch-server.litcoffee | [
"Zlib"
] |
#
# Copyright 2021 The TensorFlow 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | CMake | 3 | EricRemmerswaal/tensorflow | tensorflow/lite/tools/cmake/modules/Findgoogletest.cmake | [
"Apache-2.0"
] |
*** Settings ***
Suite Setup Run Tests ${EMPTY} standard_libraries/xml/set_element_information.robot
Resource xml_resource.robot
*** Test Cases ***
Set Element Tag
Check Test Case ${TESTNAME}
Set Element Tag Using Xpath
Check Test Case ${TESTNAME}
Set Element Tag Returns Root Element... | RobotFramework | 3 | bhirsz/robotframework | atest/robot/standard_libraries/xml/set_element_information.robot | [
"ECL-2.0",
"Apache-2.0"
] |
! Copyright (C) 2018 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel math random.xoshiro tools.test ;
IN: random.xoshiro.tests
{
2 3 131074 70368744177664
5760
} [
0 1 2 3
(next-256)
] unit-test
{
4046638647718970624
2015137892536077249
6184416992699500823
16308606... | Factor | 4 | alex-ilin/factor | extra/random/xoshiro/xoshiro-tests.factor | [
"BSD-2-Clause"
] |
-- special date and timestamp values that are not allowed in the SQL standard
-- these tests are put in this separated file because they don't work in JDBC environment
-- date with year outside [0000-9999]
select date'999999-03-18', date'-0001-1-28', date'0015';
select make_date(999999, 3, 18), make_date(-1, 1, 28);
... | SQL | 4 | akhalymon-cv/spark | sql/core/src/test/resources/sql-tests/inputs/datetime-special.sql | [
"Apache-2.0"
] |
MODULE = Agar::Combo PACKAGE = Agar::Combo PREFIX = AG_
PROTOTYPES: ENABLE
VERSIONCHECK: DISABLE
Agar::Combo
new(package, parent, label, ...)
const char * package
Agar::Widget parent
const char * label
PREINIT:
Uint flags = 0, wflags = 0;
CODE:
if ((items == 4 && SvTYPE(SvRV(ST(3))) != SVt_PVHV) || items > 4) {
... | XS | 4 | auzkok/libagar | p5-Agar/Agar/Combo.xs | [
"BSD-2-Clause"
] |
.container {
padding: 4rem 1rem;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.container p {
margin: 1.5rem 0;
}
.card {
max-width: 50rem;
box-shadow: -10px 10px 80px rgba(0, 0, 0, 0.12);
border: 1px solid #eee;
border-radius: 8px;
padding: 2rem;
margin: 0 auto;
}
.inlineCode {
c... | CSS | 3 | blomqma/next.js | examples/rewrites/styles.module.css | [
"MIT"
] |
#!/usr/bin/env bats
load helpers
export DRIVER=virtualbox
export NAME="bats-$DRIVER-daemon-configs"
export MACHINE_STORAGE_PATH=/tmp/machine-bats-daemon-test-$DRIVER
# Default memsize is 1024MB and disksize is 20000MB
# These values are defined in drivers/virtualbox/virtualbox.go
export DEFAULT_MEMSIZE=1024
export DE... | Shell | 4 | xiaoding945/moby | libnetwork/test/integration/daemon-configs.bats | [
"Apache-2.0"
] |
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
import { injectConditionalTags } from './tags';
describe('Tags', () => {
it('injectConditionalTags should inject gap dev homelocation', () => {
const injectedTags = injectConditionalTags(
[],
'https://www.freecodecamp.dev'
);
exp... | TypeScript | 4 | fcastillo-serempre/freeCodeCamp | client/utils/tags.test.tsx | [
"BSD-3-Clause"
] |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetMouseDelay, 0
Menu, Tray, Icon, %A_AhkPath%, 6
/*
[Altium Designer... | AutoHotkey | 4 | coffeenmusic/scripts-libraries | AutoHotKey/Altium Designer UI Tweaks.ahk | [
"MIT"
] |
#include "config.hats"
#include "{$TOP}/avr_prelude/kernel_staload.hats"
staload "{$TOP}/SATS/twi.sats"
staload "{$TOP}/SATS/smbus.sats"
staload "prelude/SATS/unsafe.sats"
implement send_byte (address, command) = let
var cd: uint8 = cast{uint8}(command)
val r1 = twi_writeTo (cast{uint8}(address), ptr2cptr (addr@... | ATS | 4 | Proclivis/arduino-ats | DATS/smbus.dats | [
"MIT"
] |
domain: "[n] -> { S2[i, j] : 29j >= 1 - i and i <= n and j >= 1 and j <= -1 + i; S1[i] : i >= 1 - 27n and i <= 28 + n; S4[i, j] : i >= 1 and i <= n and j >= 1 + i and j <= n; S5[i, j, k] : i >= 1 and i <= n and j >= 1 + i and j <= n and k >= 1 and k <= -1 + i; S6[i, j] : i >= 1 and i <= n and j >= 1 + i and j <= n; S3[... | Smalltalk | 3 | chelini/isl-haystack | test_inputs/codegen/cloog/vivien2.st | [
"MIT"
] |
BEGIN { a = a + 1; x = a; print a}
BEGIN { ++b; x = b; print b}
| Awk | 1 | Crestwave/goawk | testdata/gawk/uninit2.awk | [
"MIT"
] |
(*
Module: Dpkg
Parses /etc/dpkg/dpkg.cfg
Author: Robin Lee Powell <rlpowell@digitalkingdom.org>
About: License
This file, and the attendant test_dpgk.aug, are explicitly
placed in the public domain.
About: Description
dpkg.cfg is a simple list of options, the same ones as the
command line option... | Augeas | 4 | zwass/launcher | pkg/augeas/assets/lenses/dpkg.aug | [
"MIT"
] |
// https://html.spec.whatwg.org/#navigator
[Exposed=Window]
interface Navigator {
// objects implementing this interface also implement the interfaces given below
};
Navigator includes NavigatorID;
Navigator includes NavigatorLanguage;
Navigator includes NavigatorOnLine;
// Navigator includes NavigatorContentUtils;
N... | WebIDL | 4 | Unique184/jsdom | lib/jsdom/living/navigator/Navigator.webidl | [
"MIT"
] |
TDStringLeafNode{#name:'analysis',#contents:'dkh 12/30/2017 10:50
--------------------
Need to make sure that references to classes/globals from compiled methods are properly referencing the association in the original symbol dictionary and not the association in the temp symbol dictionary --- test needed
dkh 12/30/20... | STON | 2 | jvalteren/Rowan | platforms/gemstone/gsdevkit/_home/sys/local/server/home/rowan/analysis.ston | [
"MIT"
] |
# -*- tcl -*-
#
# $Id: idx.wiki,v 1.2 2004/01/15 06:36:12 andreas_kupries Exp $
#
# Engine to convert a docidx document into Wiki markup.
#
# Copyright (c) 2003 Andreas Kupries <andreas_kupries@sourceforge.net>
# Freely redistributable.
#
######################################################################
dt_source... | MediaWiki | 4 | jdruin/F5Eagle | lib/doctools/mpformats/idx.wiki | [
"TCL"
] |
CLASS zcl_abapgit_repo_checksums DEFINITION
PUBLIC
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
INTERFACES zif_abapgit_repo_checksums.
METHODS constructor
IMPORTING
!iv_repo_key TYPE zif_abapgit_persistence=>ty_repo-key
RAISING
zcx_abapgit_exception.
METHODS force_write
... | ABAP | 4 | gepparta/abapGit | src/repo/zcl_abapgit_repo_checksums.clas.abap | [
"MIT"
] |
// Dummy mob.
/mob/dview
// Can't make it invisible enough.
invisibility = 101
density = 0
alpha = 0
opacity = 0
see_in_dark = 1e6 // Literally arbitrary.
/var/mob/dview/dview = new
// Version of view() that ignores luminosity and allows you to set
/proc/dview(var/range = world.view, var/ato... | DM | 3 | PJB3005/GoonLight-Heist | helpers/dview.dm | [
"MIT"
] |
# If some one want to update lodash modules, you must run this script under the same dir where it lives.
# Or you can run them(generate-modules.ts) separately by hand
#!/usr/bin/env bash
npm i ts-node -g
ts-node ./generate-modules.ts
ts-node ./generate-fp.ts
cd ../../../
npm i prettier -D
cd types/lodash-es/script... | Shell | 3 | fes300/DefinitelyTyped | types/lodash/ts3.1/scripts/generate-all.sh | [
"MIT"
] |
module X {
record R { var x: int; }
}
module Y {
proc main() {
var r: X.R;
writeln(r);
Z.f();
}
}
| Chapel | 3 | jhh67/chapel | test/modules/sungeun/no-use-record.chpl | [
"ECL-2.0",
"Apache-2.0"
] |
extends Node
var render_distance = 7
var fog_enabled = true
var world_type = 0 # Not saved, only used during runtime.
var _save_path = "user://settings.json"
var _loaded = false
func _enter_tree():
if Settings._loaded:
printerr("Error: Settings is an AutoLoad singleton and it shouldn't be instanced elsewhere.")... | GDScript | 4 | jonbonazza/godot-demo-projects | 3d/voxel/settings.gd | [
"MIT"
] |
0 reg32_t "dword"
1 code_t "proc*"
2 union(num32_t,ptr(struct(0:ptr(struct(0:num32_t,4:uint32_t,8:uint32_t,12:array(uint32_t,6),36:array(struct(0:uint16_t,2:uint16_t,4:uint16_t),6),72:array(struct(0:ptr(reg8_t),4:ptr(reg16_t),8:ptr(reg32_t),12:ptr(reg32_t)),6),168:num32_t,172:num32_t,176:ptr(num32_t),180:ptr(num32_t),1... | BlitzBasic | 1 | matt-noonan/retypd-data | data/yasm.exe.decls | [
"MIT"
] |
ocv_assert(NOT OPENCV_SKIP_PYTHON_LOADER)
set(PYTHON_SOURCE_DIR "${CMAKE_CURRENT_LIST_DIR}")
if(OpenCV_FOUND)
set(__loader_path "${OpenCV_BINARY_DIR}/python_loader")
message(STATUS "OpenCV Python: during development append to PYTHONPATH: ${__loader_path}")
else()
set(__loader_path "${CMAKE_BINARY_DIR}/python_lo... | CMake | 4 | nowireless/opencv | modules/python/python_loader.cmake | [
"Apache-2.0"
] |
? my $context = $main::context;
? $_mt->wrapper_file("wrapper.mt")->(sub {
<title>Types - Documents - JSX</title>
?= $_mt->render_file("header.mt")
?= $_mt->render_file("breadcrumb.mt", [ qw(Documents doc.html) ], [ "Types" ])
<div id="main">
<h2>Primitive Types</h2>
<p>JSX provides the following four primitive ty... | Mathematica | 5 | monkpit/JSX | doc/src/doc/typeref.mt | [
"MIT"
] |
package com.alibaba.json.bvt.bug;
import java.lang.reflect.Type;
import junit.framework.TestCase;
import org.junit.Test;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import com.alibaba.fastjson.parser.ParserConfig;
import com.alibaba.fastjson.util.TypeUtils;
public class Issue96 ext... | Java | 4 | Czarek93/fastjson | src/test/java/com/alibaba/json/bvt/bug/Issue96.java | [
"Apache-2.0"
] |
<script>
var globalVar = 123;
</script> | HTML | 0 | NareshMurthy/playwright | test/assets/global-var.html | [
"Apache-2.0"
] |
/* Copyright 2019 The TensorFlow 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 applicable law or a... | C | 4 | yage99/tensorflow | tensorflow/compiler/xla/service/gpu/reduction_layout_normalizer.h | [
"Apache-2.0"
] |
forward OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]);
native SetTimer(funcname[], interval, repeating);
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
}
f0(arr[]) {
#pragma unused arr
}
f1(arr[]) { // line 13
new a = arr[0];
#pragma unused a
}
f2(arr[5]... | PAWN | 3 | pawn-lang/pawn | source/compiler/tests/const_array_args_and_literals_gh_276.pwn | [
"Zlib"
] |
;; test_propertylists.nu
;; tests for Nu property list support.
;;
;; Copyright (c) 2008 Tim Burks, Radtastical Inc.
(class TestPropertyLists is NuTestCase
(- (id) testSerialization is
(if (eq (uname) "Darwin")
(then (set object (array 2 2 3.3 (dict now:(NSDate date)) "five" (array 1 2... | Nu | 4 | mattbeshara/nu | test/test_propertylists.nu | [
"Apache-2.0"
] |
// run-pass
#![feature(generators)]
fn _run(bar: &mut i32) {
|| { //~ WARN unused generator that must be used
{
let _baz = &*bar;
yield;
}
*bar = 2;
};
}
fn main() {}
| Rust | 4 | Eric-Arellano/rust | src/test/ui/generator/reborrow-mut-upvar.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
INSERT INTO `USER` (`ID`,`NAME`,`EMAIL`) VALUES (1,'user1','user1@test.com');
INSERT INTO `USER` (`ID`,`NAME`,`EMAIL`) VALUES (2,'user2','user2@test.com');
INSERT INTO `USER` (`ID`,`NAME`,`EMAIL`) VALUES (3,'user3','user3@test.com');
INSERT INTO `POST` (`ID`,`SUBJECT`,`USER_ID`) VALUES (1,'JPA Entity Graph In Acti... | SQL | 3 | DBatOWL/tutorials | persistence-modules/java-jpa/src/main/resources/data-init.sql | [
"MIT"
] |
<cfcomponent>
<cffunction name="test" access="public" returnType="any" output="true">
<cfscript>
var resultText="";
</cfscript>
<cfset resultText="error">
<cfsetting showdebugoutput="false" />
<cfcontent type="text" reset="yes"><cfoutput>#resultText#<cfset foo=""/></cfoutput><cfabort>
</cffunction>
</cfcomponent... | ColdFusion CFC | 2 | tonym128/CFLint | src/test/resources/com/cflint/tests/UnusedVariable/cfoutput_464.cfc | [
"BSD-3-Clause"
] |
Mozilla/5.0 (Linux; U; Android 4.0.4; ko-kr; LG-F120L Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 NAVER(inapp; search; 280; 5.4.1)
| Text | 0 | 5tr1x/SecLists | Fuzzing/User-Agents/operating-platform/lg-f120l.txt | [
"MIT"
] |
scale(v = [2,2,2])
cube(size=[10, 10, 10], center=true); | OpenSCAD | 3 | heristhesiya/OpenJSCAD.org | packages/io/scad-deserializer/tests/transformations/scaleEx2.scad | [
"MIT"
] |
#include "__emit.inc"
stock test__op_load_u_pri_alt(&local_refvar, const local_refarray[])
{
const local_const = 1;
new local_var = 0;
static local_static_var = 0;
new local_array[2];
// ok
__emit load.u.pri global_const;
__emit load.u.pri global_var;
__emit load.u.pri local_const;
__emit load.u.pri local_v... | PAWN | 4 | pawn-lang/pawn | source/compiler/tests/__emit_p6.pwn | [
"Zlib"
] |
/***********************************************************************
This sketch writes a `$I` build info string directly into Arduino EEPROM
To use:
- Just alter the "build_info_line" string to whatever you'd like. Then
compile and upload this sketch to your Arduino.
- If your Arduino is blinking slowly, ... | Arduino | 4 | D1anaGreen/essaykiller | AutoFormatter/grbl_writter_opt/examples/grblWrite_BuildInfo/grblWrite_BuildInfo.ino | [
"Apache-2.0"
] |
structure Tokens = Tokens
type pos = int
type svalue = Tokens.svalue
type ('a,'b) token = ('a,'b)Tokens.token
type lexresult = (svalue,pos) token
val pos = ref 1
fun eof () = Tokens.EOF(!pos, !pos)
open Data;
fun int2register n =
case n of
0 => R0 | 1 => R1 | 2 => R2 | 3 => R3
| 4 => R4 | 5 => R... | Lex | 4 | dwRchyngqxs/HOL | examples/ARM/v4/armParser.lex | [
"BSD-3-Clause"
] |
package new
fun other() {
} | Groff | 0 | qussarah/declare | jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedWithPhantomPart2/other.kt.new.1 | [
"Apache-2.0"
] |
TDSmalltalkLeafNode {
#name : 'copyToStHub',
#contents : '| pushRepoUrl sourceVersionStringList configurationClass attributeList stHubRepo pushRepo constructor packageNames repositories methodSections gofer methodSectionMap |
pushRepoUrl := \'http://smalltalkhub.com/mc/dkh/metacello/main\'.
sourceVersionStringList :=... | STON | 3 | tom95/metacello | tode/copyToStHub.ston | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.