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
/** * @param {import('jscodeshift').FileInfo} file * @param {import('jscodeshift').API} api */ export default function transformer(file) { return file.source.replace(/([^a-zA-Z])ExpansionPanel/gm, '$1Accordion'); }
JavaScript
4
dany-freeman/material-ui
packages/mui-codemod/src/v5.0.0/expansion-panel-component.js
[ "MIT" ]
--TEST-- JSON (http://www.crockford.com/JSON/JSON_checker/test/pass3.json) --FILE-- <?php $test = ' { "JSON Test Pattern pass3": { "The outermost value": "must be an object or array.", "In this test": "It is an object." } } '; echo 'Testing:' . $test . "\n"; echo "DECODE: AS OBJECT\n"; $obj = ...
PHP
3
NathanFreeman/php-src
ext/json/tests/pass003.phpt
[ "PHP-3.01" ]
<%@ page contentType="text/html; charset=utf-8" %> <%@ taglib prefix="a" uri="/WEB-INF/app.tld"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="res" uri="http://www.unidal.org/webres"%> <%@ taglib prefix="w" uri="http://www.unidal.org/web/core"%> <%@taglib uri="http://java.sun.com/j...
Java Server Pages
3
woozhijun/cat
cat-home/src/main/webapp/jsp/system/storageRule/storageRuleUpdate.jsp
[ "Apache-2.0" ]
newtype N = N Int newtype Show a => N = N a newtype Age = Age { unAge :: Maybe Int } newtype Bar a (b :: [* -> *]) c = Foo (a b c) newtype N = N Int deriving Show newtype N = N a deriving (Eq, Ord, Enum, Bounded, Show, Read)
Haskell
3
matsubara0507/semantic
test/fixtures/haskell/corpus/newtype-declaration.A.hs
[ "MIT" ]
= An Atomic Rant == Brush Up Your Resume You are probably not handling atomic operations properly in your app, and probably have some nasty lurking race conditions. The worst part is these will get worse as your user count increases, are difficult to reproduce, and usually happen to your most critical pieces of cod...
RDoc
4
D-system/redis-objects
ATOMICITY.rdoc
[ "Artistic-2.0" ]
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" > <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="utf-8"> <meta name="description" content="RxJS Long Stack Traces Example"> <meta name="author" content="Rx Team"> <title>Long...
HTML
3
henryqdineen/RxJS
examples/longstacktraces/longstacktraces.html
[ "Apache-2.0" ]
This file must be excluded.
XS
4
hendriks73/maven-jaxb2-plugin
tests/two/src/main/resources/schema.xs
[ "BSD-2-Clause" ]
( Generated from test_namespace2_in.muv by the MUV compiler. ) ( https://github.com/revarbat/muv ) lvar foo::fee : foo::abc[ _a -- ret ] foo::fee @ _a @ + ; : bar::abc[ _a -- ret ] 13 _a @ + ; : _main[ _arg -- ret ] 3 foo::abc bar::abc pop 0 ; : __start "me" match me ! me @ location loc ! trig tri...
MUF
3
revarbat/muv
tests/test_namespace2_cmp.muf
[ "BSD-2-Clause" ]
class Container { static function main():Void { switch (Sys.command("haxelib", ["install", "jQueryExtern"])) { case 0: //pass case code: Sys.exit(code); } } }
Haxe
3
sortie/official-images
test/tests/haxe-haxelib-install/Container.hx
[ "Apache-2.0" ]
--TEST-- Bug #77325: ReflectionClassConstant::$class returns wrong class when extending --FILE-- <?php class Foo { const FOO = 'foo'; } class Bar extends Foo { } $barClassReflection = new ReflectionClass(Bar::class); $constants = $barClassReflection->getReflectionConstants(); foreach ($constants as $constant) { ...
PHP
4
thiagooak/php-src
ext/reflection/tests/bug77325.phpt
[ "PHP-3.01" ]
# MMS Description file for the Tag Image File Format Library # # Tag Image File Format Library # # Copyright (c) 1988, 1989, 1990, 1991, 1992 Sam Leffler # Copyright (c) 1991, 1992 Silicon Graphics, Inc. # # Permission to use, copy, modify, distribute, and sell this software and # its documentation for any purpose is h...
Module Management System
3
flipk/xviewpfk
tiff/Makefile.mms
[ "Unlicense" ]
import opts abstract class Command var name: String var description: String var options = new OptionContext var parent_command: nullable Command = null var sub_commands = new Array[Command] fun add_option(option: Option) do options.add_option(option) end fun add_command(command: Command) do command.pare...
Nit
4
ajnavarro/language-dataset
data/github.com/moz-code/prez/280c19321ee037739c108dd6cdeffde9cd81767c/src/commands.nit
[ "MIT" ]
export default { html: ` <div>hello undefined</div> <div>hello bar2</div> ` };
JavaScript
1
vatro/svelte
test/runtime/samples/destructured-assignment-pattern-with-object-pattern/_config.js
[ "MIT" ]
#!/usr/bin/env bash ############################################################################### # Copyright 2017 The Apollo 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...
Shell
4
jzjonah/apollo
scripts/env.sh
[ "Apache-2.0" ]
-- Copyright 2021 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "DNSlytics" type = "api" function start() set_rate_limit(1) end function check() local c local cfg = datasrc_config() ...
Ada
4
Elon143/Amass
resources/scripts/api/dnslytics.ads
[ "Apache-2.0" ]
source tests/support/cli.tcl start_server {tags {"wait network external:skip"}} { start_server {} { set slave [srv 0 client] set slave_host [srv 0 host] set slave_port [srv 0 port] set slave_pid [srv 0 pid] set master [srv -1 client] set master_host [srv -1 host] set master_port [srv -1 por...
Tcl
4
hpdic/redis
tests/unit/wait.tcl
[ "BSD-3-Clause" ]
#include <PJONSwitch.h> #include <PJONSoftwareBitBang.h> /* Route packets between a collection of buses with the same or different strategies or media. PJONSimpleSwitch routes between buses of the same strategy. It uses less storage and RAM than the more general PJONSwitch. __________ ____...
Arduino
5
solhuebner/PJON
examples/routing/ARDUINO/Network/Switch/SimpleSwitch/SimpleSwitch.ino
[ "Apache-2.0" ]
--- my: property: fromyamlfile other: notempty --- spring: profiles: thedefault my: property: fromdefaultprofile --- spring: profiles: other my: property: fromotherprofile
YAML
2
yiou362/spring-boot-2.2.9.RELEASE
spring-boot-project/spring-boot/src/test/resources/testprofilesdocument.yml
[ "Apache-2.0" ]
// format: OFF package mesosphere.marathon.raml sealed trait {{ enum.name }} extends Product with Serializable with RamlGenerated { val value: String override def toString: String = value } object {{enum.name}} { {% for i in enum.sortedValues -%} case object {{i}} extends {{enum.name}} { val value = {{i |...
Liquid
4
fquesnel/marathon
type-generator/src/main/resources/templates/enum.liquid
[ "Apache-2.0" ]
grammar t039labels; options { language = JavaScript; } a returns [l] : ids+=A ( ',' ids+=(A|B) )* C D w=. ids+=. F EOF { l = [$ids, $w]; } ; A: 'a'..'z'; B: '0'..'9'; C: a='A'; D: a='FOOBAR'; E: 'GNU' a=.; F: 'BLARZ' a=EOF; WS: ' '+ { $channel = HIDDEN };
G-code
3
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t039labels.g
[ "Apache-2.0" ]
rule cc-bpf command = clang -g -O2 -Wall -Wextra -target bpf -Xclang -target-feature -Xclang +alu32 -c $in -o $out rule ll-bpf command = clang -O2 -Wall -Wextra -target bpf -Xclang -target-feature -Xclang +alu32 -emit-llvm -S -c $in -o $out rule llc-bpf command = llc -march=bpf -mattr=+alu32 -filetype=obj $in -...
Ninja
3
gozdal/cloudflare-blog
2019-04-ebpf-alu32/build.ninja
[ "BSD-3-Clause" ]
// Variable used in stylus_test.styl importDashy = dashed .stylus-overwrite-color font-size: 20px !important
Stylus
2
joseconstela/meteor
packages/deprecated/stylus/stylus_tests.import.styl
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
<input id="fileName" autofocus type="text" class="input-lg form-control" placeholder="Open your file or create new by press Enter">
Harbour
1
blacktail/real-edit
public_src/scripts/index/templates/main.hb
[ "MIT" ]
signature dpd_smb { ip-proto == tcp payload /^....[\xfe\xff]SMB/ enable "smb" }
Standard ML
3
yaplej/bro
scripts/base/protocols/smb/dpd.sig
[ "Apache-2.0" ]
insert into t (id) values (1500), (1501), (1502), (1503), (1504), (1505), (1506), (1507), (1508), (1509), (1510), (1511), (1512), (1513), (1514), (1515), (1516), (1517), (1518), (1519), (1520), (1521), (1522), (1523), (1524), (1525), (1526), (1527), (1528), (1529), (1530), (1531), (1532), (1533), (1534), (1535), (1536)...
SQL
1
cuishuang/tidb
br/tests/lightning_disk_quota/data/disk_quota.t.3.sql
[ "Apache-2.0" ]
.ActiveRecordToggle { color: var(--color-record-active); } .ActiveRecordToggle:hover { color: var(--color-record-active); } .ActiveRecordToggle:focus { color: var(--color-record-active); } .ActiveRecordToggle:active { color: var(--color-record-hover); } .InactiveRecordToggle { color: var(--color-record-inact...
CSS
3
vegYY/react
packages/react-devtools-shared/src/devtools/views/Profiler/RecordToggle.css
[ "MIT" ]
{%- set data = '{"Der Zucker": "süß", "Die Webseite": "https://saltproject.io"}'|load_json -%} {{ pillar['tojson-file'] }}: file.managed: - source: salt://tojson/template.jinja - template: jinja - context: data: {{ data|tojson }}
SaltStack
3
markgras/salt
tests/integration/files/file/base/tojson/init.sls
[ "Apache-2.0" ]
//tab_size=4 // Copyright 2021 nickmqb // SPDX-License-Identifier: Apache-2.0 VoronoiGrid2D struct #RefType { size IntVector2 tiles Array<VoronoiTile> points Array<IntVector2> fromNumPoints(width int, height int, numPoints int, rs *uint) { points := new Array<IntVector2>(numPoints + 1) for i := 0; i < numPoin...
mupad
4
nickmqb/fpga_craft
terrain_gen/voronoi.mu
[ "Apache-2.0" ]
import Nat = "mo:base/Nat"; import Nat32 = "mo:base/Nat32"; module { public func new() : { next : () -> Nat32 } = object { let modulus = 0x7fffffff; var state : Nat32 = 1; public func next() : Nat32 { state := Nat32.fromNat(Nat32.toNat(state) * 48271 % modulus); state; ...
Modelica
4
DaveSimplifire/examples
motoko/life/versions/v2/life/Random.mo
[ "Apache-2.0" ]
lexer grammar t011lexer; options { language = JavaScript; } IDENTIFIER: ('a'..'z'|'A'..'Z'|'_') ('a'..'z' |'A'..'Z' |'0'..'9' |'_' { tlog("Underscore"); tlog("foo"); } )* ; WS: (' ' | '\n')+;
G-code
4
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t011lexer.g
[ "Apache-2.0" ]
note description:"[ OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ The version of the OpenAPI document: 1.0.0 NOTE: This class is auto generated by OpenAPI Generator (https...
Eiffel
5
JigarJoshi/openapi-generator
samples/client/petstore/eiffel/src/domain/file_schema_test_class.e
[ "Apache-2.0" ]
open util/ordering[Time] sig Time { pressed: set Key } sig Key { } pred press[k: Key, t: Time] { k not in t.pressed k in t.next.pressed } pred release[k: Key, t: Time] { k in t.pressed k not in t.next.pressed } pred changed[k: Key, t: Time] { press[k, t] or release[k, t] } face Trace { no first.pres...
Alloy
4
awwx/alloydocs
techniques/specs/dynamics/keyboard-table.als
[ "MIT" ]
' Continuous, CenterY, YOFFSET, x1,y1,...x16,y16 - created by boardgen 'Level 1 - circle DefData 1,400,-80,200,0,184,76,141,141,76,184,0,200,-76,184,-141,141,-184,76,-200,0,-184,-76,-141,-141,-76,-184,0,-200,76,-184,141,-141,184,-76 'Level 2 - square DefData 1,400,-80,-200,200,-200,100,-200,0,-200,-100,-200,-200,-100,...
BlitzMax
4
jabdoa2/blitzmax
samples/tempest/boarddata.bmx
[ "Zlib" ]
<body id="top" role="document" class="file"> <nav role="navigation"> <div id="project-navigation"> <%= render '_sidebar_navigation.rhtml' %> <%= render '_sidebar_search.rhtml' %> </div> <div id="project-metadata"> <%= render '_sidebar_pages.rhtml' %> <%= render '_sidebar_classes.rhtml' %> </di...
RHTML
3
Bhuvanesh1208/ruby2.6.1
lib/ruby/2.6.0/rdoc/generator/template/darkfish/index.rhtml
[ "Ruby" ]
// 把组合逻辑电路实现在 module 内 // 这样,组合逻辑的结果变量是整个 module 公有的,任何 rule 都能访问。 package GrayCode_v3; module mkTb (); // 寄存器 Reg#(Bit#(6)) cnt <- mkReg(0); // 把 cnt (二进制编码)转化为 cnt_gray (格雷码) Bit#(6) cnt_gray = (cnt >> 1) ^ cnt; // 把 cnt_gray (格雷码) 转化回 cnt_bin (二进制编码) Bit#(6) cnt_bin = cnt_gray; // 该循环不表示任何...
Bluespec
4
Xiefengshang/BSV_Tutorial_cn
src/4.GrayCode/GrayCode_v3.bsv
[ "MIT" ]
# # @expect=org.quattor.pan.exceptions.EvaluationException # object template file_contents5; '/result' = { file_contents("afile", "abc"); };
Pan
2
aka7/pan
panc/src/test/pan/Functionality/function/file_contents5.pan
[ "Apache-2.0" ]
#data { raster-opacity: 1; raster-mesh-size: 1; }
CartoCSS
1
nimix/carto
test/rendering/raster-mesh-size.mss
[ "Apache-2.0" ]
# This file is a part of Julia. License is MIT: https://julialang.org/license ## IOStream const sizeof_ios_t = Int(ccall(:jl_sizeof_ios_t, Cint, ())) """ IOStream A buffered IO stream wrapping an OS file descriptor. Mostly used to represent files returned by [`open`](@ref). """ mutable struct IOStream <: IO ...
Julia
5
wentasah/julia
base/iostream.jl
[ "MIT" ]
using Microsoft.AspNetCore.Mvc; namespace AbpAspNetCoreDemo.Controllers { [Route("api/Custom")] [ApiExplorerSettings(IgnoreApi = false)] public class CustomController : DemoControllerBase { [Route("action-one")] public IActionResult Action1() { return Content("42");...
C#
3
krisums/aspnetboilerplate
test/aspnet-core-demo/AbpAspNetCoreDemo/Controllers/CustomController.cs
[ "MIT" ]
--TEST-- Bug #26927 (preg_quote() does not escape \0) --FILE-- <?php $str = "a\000b"; $str_quoted = preg_quote($str); var_dump(preg_match("!{$str_quoted}!", $str), $str_quoted); ?> --EXPECT-- int(1) string(6) "a\000b"
PHP
3
thiagooak/php-src
ext/pcre/tests/bug26927.phpt
[ "PHP-3.01" ]
import { graphql, useStaticQuery } from "gatsby" export function use404HistoryStaticQuery() { return useStaticQuery(graphql` { queryDataCachesJson( selector: { eq: "static-query-404-to-B-to-404-history" } ) { ...QueryDataCachesFragmentInitialPage } } `) }
JavaScript
4
pipaliyajaydip/gatsby
e2e-tests/development-runtime/src/components/query-data-caches/static-query-404-history.js
[ "MIT" ]
interpolation = require '../lib/parser/interpolation' require 'chai'.should() (x) should be false = x.should.not.be.ok (x) should be true = x.should.be.ok describe 'interpolation' interpolation state = undefined before each interpolation state := interpolation.create interpolation () de...
PogoScript
4
featurist/pogoscript
test/interpolationSpec.pogo
[ "BSD-2-Clause" ]
# # Automatically generated file; DO NOT EDIT. # Linux/arm64 4.14.67 Kernel Configuration # CONFIG_ARM64=y CONFIG_64BIT=y CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_ARM64_PAGE_SHIFT=12 CONFIG_ARM64_CONT_SHIFT=4 CONFIG_ARCH_MMAP_RND_BITS_MIN=18 CONFIG_ARCH_MMAP_RND_BITS_MAX=33 CONFIG_ARCH_MMAP_RND_COMPAT_BITS_M...
Logos
1
eadamsintel/kata-containers
tools/packaging/kernel/configs/arm64_kata_kvm_4.14.x
[ "Apache-2.0" ]
#! /bin/sh -e # DP: use gcc-4.3 instead of gcc as the command name. 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-mis...
Darcs Patch
3
JrCs/opendreambox
recipes/gcc/gcc-4.3.4/debian/ada-gcc-name.dpatch
[ "MIT" ]
\* Copyright (c) 2010-2015, Mark Tarver 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 notice, this list of conditions and the foll...
Shen
3
otabat/shen-jvm
shen/src/shen-replace/declarations-replace.shen
[ "MIT" ]
server { server_name ssl.both.com; } # a duplicate vhost server { server_name ssl.both.com; } # a duplicate by means of wildcard server { server_name *.both.com; } # combined HTTP and HTTPS server { server_name ssl.both.com; listen 80; listen 5001 ssl; ssl_certificate cert.pem; ssl_certificate_...
DIGITAL Command Language
3
4n3i5v74/certbot
certbot-nginx/tests/testdata/etc_nginx/sites-enabled/both.com
[ "Apache-2.0" ]
#!/bin/bash for i in chrome/app/resources/generated_resources_*.xtb; do fn=`basename $i` lc=${fn#generated_resources_} lc=${lc%.xtb} outf=content/nw/src/resources/locale/nw_strings_$lc.xtb echo output locale: $lc cat > $outf <<EOF <?xml version="1.0" ?> <!DOCTYPE translationbundle> <translationbundle lang=...
Shell
4
namaljayathunga/nw.js
tools/extract_l10n_id.sh
[ "MIT" ]
.demo-button { button, a { margin: 8px; text-transform: uppercase; } section { display: flex; align-items: center; margin: 8px; } p { padding: 5px 15px; } .demo-section-header { font-weight: 500; margin: 0; } .demo-no-flex { display: block; } }
SCSS
3
MarkArranz/material2
src/demo-app/button/button-demo.scss
[ "MIT" ]
--TEST-- Bug #72596 (imagetypes function won't advertise WEBP support) --EXTENSIONS-- gd --FILE-- <?php var_dump(function_exists('imagewebp') === (bool) (imagetypes() & IMG_WEBP)); ?> --EXPECT-- bool(true)
PHP
3
NathanFreeman/php-src
ext/gd/tests/bug72596.phpt
[ "PHP-3.01" ]
------------------------------------------------------------------------------- -- -- File: ChannelBond.vhd -- Author: Elod Gyorgy -- Original Project: HDMI input on 7-series Xilinx FPGA -- Date: 8 October 2014 -- ------------------------------------------------------------------------------- -- (c) 2014 Copyright Digi...
VHDL
5
michalkouril/PYNQ
boards/ip/dvi2rgb_v1_7/src/ChannelBond.vhd
[ "BSD-3-Clause" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
3
sbj42/vscode
src/vs/platform/driver/browser/driver.ts
[ "MIT" ]
package com.baeldung.functional; import java.util.logging.Level; import java.util.logging.Logger; public class ReferentialTransparency { private static Logger logger = Logger.getGlobal(); public void main() { String data = new SimpleData().setData("Baeldung") .getData(); logger....
Java
3
DBatOWL/tutorials
core-java-modules/core-java-functional/src/main/java/com/baeldung/functional/ReferentialTransparency.java
[ "MIT" ]
<%= cache "uhoh" do %> <%= uncacheable! %> <% end %>
HTML+ERB
2
jstncarvalho/rails
actionview/test/fixtures/test/uncacheable.html.erb
[ "MIT" ]
{ "$schema": "../schemas/design-system.schema.json5", "lastUpdated": "2020-07-22", "name": "Chromium", "url": "https://www.chromium.org/", "by": "Open Source", "description": "Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all Internet users to experie...
JSON5
3
mfreed7/open-ui
research/src/sources/chromium.json5
[ "W3C-20150513" ]
#ifndef CSVREADER_H #define CSVREADER_H #include <iostream> #include <fstream> #include <opencv2/core/core.hpp> #include "Utils.h" using namespace std; using namespace cv; class CsvReader { public: /** * The default constructor of the CSV reader Class. * The default separator is ' ' (empty space) * ...
C
4
thisisgopalmandal/opencv
samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.h
[ "BSD-3-Clause" ]
(set-info :smt-lib-version 2.6) (set-logic QF_UFLRA) (set-info :source |CPAchecker with k-induction on SV-COMP14 program using MathSAT5, submitted by Philipp Wendler, http://cpachecker.sosy-lab.org|) (set-info :category "industrial") (set-info :status unsat) (declare-fun ldv_spin@1 () Real) (declare-fun |main::ldv_s_...
SMT
3
livinlife6751/infer
sledge/test/smt/QF_UFLRA/cpachecker-induction-svcomp14/cpachecker-induction.43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--rtc--rtc-ds1390.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c.smt2
[ "MIT" ]
// Test that anonymous lifetimes are not permitted in struct declarations struct Foo { x: &isize //~ ERROR missing lifetime specifier } fn main() {}
Rust
4
Eric-Arellano/rust
src/test/ui/regions/regions-in-structs-anon.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#![feature(decl_macro)] macro x() { struct MyStruct; } x!(); x!();
Rust
1
Eric-Arellano/rust
src/test/ui/hygiene/auxiliary/needs_hygiene.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
[#name: "TheCastle", #levels: 6, #version: 3.6400, #creator: "ChallengeYou", #Floor: [[[[160, 325], [320, 325], [320, 80], [160, 80]], [[1, 1], 2]], [[[170, 315], [310, 315], [310, 220], [170, 220]], [[4, 1], 2]], [[[170, 315], [310, 315], [310, 220], [170, 220]], [[3, 1], 2]], [[[170, 320], [310, 320], [310, 210], [17...
Cycript
3
smola/language-dataset
data/github.com/Ruixel/YACY/49835f35a0d114d60c20e91f9c5f7707db77a2ec/res/levels/Castle.cy
[ "MIT" ]
{-# LANGUAGE CPP, RankNTypes, UndecidableInstances, GADTs, TypeSynonymInstances, FlexibleInstances, MultiParamTypeClasses, FlexibleContexts, ScopedTypeVariables #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Graphics.UI.FLTK.LowLevel.Dial ( -- * Hierarchy -- -- $hierarchy -- * Widget Function...
C2hs Haskell
4
ericu/fltkhs
src/Graphics/UI/FLTK/LowLevel/Dial.chs
[ "MIT" ]
<ul class="options_list"> <li data-option="suggestions"> <div class="checkbox-container"><input type="checkbox" data-option="suggestions" id="suggestions"{{#if suggestions}} checked=true{{/if}}><label for="suggestions" data-option="suggestions"></label></div> <div class="option_descr...
Handlebars
3
zadcha/rethinkdb
admin/static/handlebars/dataexplorer-options.hbs
[ "Apache-2.0" ]
#![allow(bare_trait_objects)] trait Trait<'a> {} fn main() { let _: &for<'a> Trait<'a> + 'static; //~^ ERROR expected a path on the left-hand side of `+`, not `&for<'a> Trait<'a>` //~| HELP try adding parentheses //~| SUGGESTION &(for<'a> Trait<'a> + 'static) }
Rust
3
Eric-Arellano/rust
src/test/ui/parser/trait-object-polytrait-priority.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
DAFETF NAIF DAF ENCODED TRANSFER FILE 'DAF/CK ' '2' '6' 'DAWN FC ALIGNMENT ' BEGIN_ARRAY 1 10 'DAWN FC2 ALIGNMENT, 10/22/15 ' '1D16542FF6^A' '1D165709F6^A' '-31970' '-318F8' '2' '1' 10 'FFFFE89764F228^0' '-19D0E9E6478CB6^-2' '62A2E9911F8D98^-2' '27DEA9760525CA^-2' '...
XC
2
ladoramkershner/ale
tests/pytests/data/FC21A0038582_15170161546F6F/dawn_fc_v3_1_sliced_-203120.xc
[ "Unlicense" ]
load '../train/train.plot' plot '../train-wiki/model.step-trainlossavg10' t 'wikipedia train loss' w lines ls 1 dt '.', \ 'model.step-trainlossavg10' t 'hn train loss' w lines ls 2 dt '.', \ 'model-3.step-trainlossavg10' u ($1+197000):2 t 'hn train loss 3' w lines ls 4 dt '.', \ '../train-wiki/model.st...
Gnuplot
3
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
Projects/hackernews-comments/train-wiki-hn/train.plot
[ "Apache-2.0" ]
/** * TestNetworkC exercises the basic networking layers, collection and * dissemination. The application samples DemoSensorC at a basic rate * and sends packets up a collection tree. The rate is configurable * through dissemination. * * See TEP118: Dissemination, TEP 119: Collection, and TEP 123: The * Collecti...
nesC
4
mtaghiza/tinyos-main-1
apps/tests/TestNetwork/TestNetworkAppC.nc
[ "BSD-3-Clause" ]
<p>{{{raw}}}</p>
Handlebars
0
fuelingtheweb/prettier
tests/handlebars/raw.hbs
[ "MIT" ]
#tag Class Protected Class TreeViewWFS Implements WndProcSubclassWFS #tag Method, Flags = &h21 Private Function AddImageToImageList(p as Picture) As Integer #if TargetWin32 Declare Function ImageList_Create Lib "comctl32" ( cx as Integer, cy as Integer, _ flags as Integer, initialSize as Integ...
REALbasic
5
bskrtich/WFS
Windows Functionality Suite/UI Extras/Classes/TreeViewWFS.rbbas
[ "MIT" ]
( { (({RHPF.ar(OnePole.ar(BrownNoise.ar, 0.99), LPF.ar(BrownNoise.ar, 14) * 400 + 500, 0.03, 0.003)}!2) + ({RHPF.ar(OnePole.ar(BrownNoise.ar, 0.99), LPF.ar(BrownNoise.ar, 20) * 800 + 1000, 0.03, 0.005)}!2)) * 10; }.play ) Env.perc.test; Env.circle.test; // // Paulstretch // ( SynthDef(\paulstretchMono, { |out = ...
SuperCollider
5
drichardson/examples
SuperCollider/Interesting.scd
[ "Unlicense" ]
/// <reference path="../fourslash.ts"/> // @Filename: referencesForGlobals_1.ts ////[|var [|{| "contextRangeIndex": 0 |}globalName|] = 0;|] // @Filename: referencesForGlobals_2.ts ////var y = [|globalName|]; // @Filename: tsconfig.json ////{ "files": ["referencesForGlobals_1.ts", "referencesForGlobals_2.ts"...
TypeScript
4
monciego/TypeScript
tests/cases/fourslash/server/renameInConfiguredProject.ts
[ "Apache-2.0" ]
<footer class="global-footer"> <div class="inner group"> <nav class="global-footer-navi text-smaller group"> <ul class="global-footer-navi-list"> <li><a href="<mt:SiteURL>news/">ニュース</a></li> <li><a href="<mt:SiteURL>pressrelease/">プレスリリース</a></li> <li><a href="<mt:SiteURL>event/">イベ...
MTML
2
movabletype/mt-theme-jungfrau
themes/jungfrau/templates/template_448.mtml
[ "MIT" ]
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) val compare : Type.trace -> Type.trace -> int val trace_depth : Type.trace -> int val unit_trace : Type.t -> Type.use_t -> Type.t...
OCaml
4
zhangmaijun/flow
src/typing/trace.mli
[ "MIT" ]
<body class="main"> <canvas width="200" height="400" id="canvas" style="border: 1px solid black;"></canvas> <script src="tetris.js"></script> </body>
HTML
2
zakuro9715/v
examples/tetris/index.html
[ "MIT" ]
<template name="visitorNavigation"> <div class="content"> <div class="list-view"> <h4>{{_ "Navigation_History"}}</h4> <div class="visitor-navigation"> {{#if loadingNavigation}} {{_ "Loading..."}} {{else}} <div class="visitor-scroll"> <ul> {{#each pages}} <li><a href="{{na...
HTML
3
subramanir2143/Rocket.Chat
app/livechat/client/views/app/tabbar/visitorNavigation.html
[ "MIT" ]
# - Try to find libvterm # Once done this will define # LIBVTERM_FOUND - System has libvterm # LIBVTERM_INCLUDE_DIRS - The libvterm include directories # LIBVTERM_LIBRARIES - The libraries needed to use libvterm include(LibFindMacros) libfind_pkg_detect(LIBVTERM vterm FIND_PATH vterm.h FIND_LIBRARY vterm) libfind_...
CMake
3
uga-rosa/neovim
cmake/FindLIBVTERM.cmake
[ "Vim" ]
/* reset */ ul list-style none padding 0 .border-bottom-1px, .border-top-1px position: relative &:before, &:after content: "" display: block position: absolute transform-origin: 0 0 .border-bottom-1px &:after border-bottom: 1px solid #ebebeb left: 0 bottom: 0 width: 100% t...
Stylus
4
cym2050/better-scroll
packages/react-examples/src/pages/picker/index.styl
[ "MIT" ]
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <title>Checks that an XSLT-generated HTML doc does not circumvent third-party cookie rules</title> <script> if (window.testRunner) { testRunne...
XSLT
3
zealoussnow/chromium
third_party/blink/web_tests/http/tests/security/cookies/resources/third-party-cookie-blocking.xsl
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
#include <metal_stdlib> #include <simd/simd.h> using namespace metal; struct Uniforms { half4 testInputs; half4 colorGreen; half4 colorRed; }; struct Inputs { }; struct Outputs { half4 sk_FragColor [[color(0)]]; }; fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buf...
Metal
3
fourgrad/skia
tests/sksl/intrinsics/Pow.metal
[ "BSD-3-Clause" ]
<html> <head><title>Test Page</title></head> <body> <p><i class="fa fa-alert"></i>Some things should be <b>inline</b>, some things shouldn't!</p> <i class="fa fa-warning"/> </body> </html>
HTML
3
0x7c48/mitmproxy
test/mitmproxy/contentviews/test_xml_html_data/inline.html
[ "MIT" ]
exports.createPages = async ({ actions, graphql, reporter }) => { const { createPage } = actions const result = await graphql(` { articles: allKontentItemArticle { nodes { elements { slug { value } } } } } `) if (res...
JavaScript
4
pipaliyajaydip/gatsby
benchmarks/source-kontent/gatsby-node.js
[ "MIT" ]
# @ECLASS: stub.eclass # @MAINTAINER: # Random Person <maintainer@random.email> # @SUPPORTED_EAPIS: 6 7 # @BLURB: Stub eclass for testing the UnsupportedEclassEapi result. EXPORT_FUNCTIONS src_prepare # @FUNCTION: stub_src_prepare # @USAGE: # @DESCRIPTION: # Public src_prepare stub function. stub_src_prepare() { :; }...
Gentoo Eclass
3
floppym/pkgcheck
testdata/repos/eclass/eclass/stub.eclass
[ "BSD-3-Clause" ]
// Code generated by mkconsts.go. DO NOT EDIT. //go:build goexperiment.regabiargs // +build goexperiment.regabiargs package goexperiment const RegabiArgs = true const RegabiArgsInt = 1
Go
1
SSSDNSY/go
src/internal/goexperiment/exp_regabiargs_on.go
[ "BSD-3-Clause" ]
/** * 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 * "License"); you...
AspectJ
5
dm20/hadoop-mapreduce
src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj
[ "Apache-2.0" ]
/home/spinalvm/hdl/riscv-compliance/work//C.LWSP.elf: file format elf32-littleriscv Disassembly of section .text.init: 80000000 <_start>: 80000000: 0001 nop 80000002: 0001 nop 80000004: 0001 nop 80000006: 0001 nop 80000008: 0001 nop...
ObjDump
1
cbrune/VexRiscv
src/test/resources/asm/C.LWSP.elf.objdump
[ "MIT" ]
#!/usr/bin/env bash # Copyright 2014 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. if [[ -n "$CIRRUS_CI" && -n "$GCLOUD_CREDENTIALS" ]]; then echo "$GCLOUD_CREDENTIALS" | base64 --decode | docker login -u _json_key --pa...
Shell
4
Mayb3Nots/flutter
dev/ci/docker_linux/docker_login.sh
[ "BSD-3-Clause" ]
#!/usr/bin/env bash set -o errexit -o nounset -o pipefail # Make sure that we don't accidentally include GPL licenced files gpl_term="General Public License" gpl_excludes=( # Snippet expands to GPL, but is not under GPL ":(exclude)assets/syntaxes/01_Packages/Matlab/Snippets/Octave-function.sublime-snippet" ...
Shell
4
ka7/bat
tests/scripts/license-checks.sh
[ "Apache-2.0", "MIT" ]
#!/usr/bin/pike // -*- mode: pike -*- // $Id: regexmatch.pike,v 1.1 2004-05-19 18:11:27 bfulgham Exp $ // http://www.bagley.org/~doug/shootout/ // from: Fredrik Noring constant area = "([0-9][0-9][0-9]|\\([0-9][0-9][0-9]\\))"; constant exch = "([0-9][0-9][0-9])"; constant last = "([0-9][0-9][0-9][0-9])"; void main(in...
Pike
4
kragen/shootout
bench/regexmatch/regexmatch.pike
[ "BSD-3-Clause" ]
# frozen_string_literal: true raise "I should never be loaded"
Ruby
0
mdesantis/rails
railties/test/fixtures/lib/generators/model_generator.rb
[ "MIT" ]
#!/usr/bin/env zsh # Copyright (c) 2016, Zsolt Lengyel # Modifications copyright (c) 2016, Sebastian Gniazdowski # # This script opens a new, temporary tmux pane and runs n-history. When # a selection is made, the result (history entry) is pasted back into # original tmux pane, and the temporary pane is closed. This ...
Shell
4
chensanle/ohmyzsh
plugins/zsh-navigation-tools/znt-tmux.zsh
[ "MIT" ]
// compile-flags: -O #![crate_type = "lib"] // CHECK-LABEL: @array_clone #[no_mangle] pub fn array_clone(a: &[u8; 2]) -> [u8; 2] { // CHECK-NOT: getelementptr // CHECK-NOT: load i8 // CHECK-NOT: zext // CHECK-NOT: shl // CHECK: load i16 // CHECK-NEXT: ret i16 a.clone() }
Rust
4
ohno418/rust
src/test/codegen/array-clone.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#! ./parrot-nqp # workaround nqp-rx not generating :main Q:PIR { .end .sub 'main' :main .const "Sub" $P0 = "MAIN" .tailcall $P0() .end .sub '' :anon }; sub MAIN() { pir::load_bytecode("opsc.pbc"); pir::load_bytecode("Getopt/Obj.pbc"); my $opts := get_options(); return usage() if $opts<help>;...
Perl6
4
winnit-myself/Wifie
compilers/opsc/ops2c.nqp
[ "Artistic-2.0" ]
import { imageDemoTest } from '../../../tests/shared/imageTest'; describe('Menu image', () => { imageDemoTest('menu'); });
TypeScript
4
chnliquan/ant-design
components/menu/__tests__/image.test.ts
[ "MIT" ]
(set-info :smt-lib-version 2.6) (set-logic QF_UFLRA) (set-info :source |CPAchecker with k-induction on SV-COMP14 program using MathSAT5, submitted by Philipp Wendler, http://cpachecker.sosy-lab.org|) (set-info :category "industrial") (set-info :status unsat) (define-fun _1 () Bool true) (declare-fun |main::lk12@3| ()...
SMT
2
livinlife6751/infer
sledge/test/smt/QF_UFLRA/cpachecker-induction-svcomp14/cpachecker-induction.test_locks_13_true-unreach-call.c.smt2
[ "MIT" ]
--- eleventyComputed: c: "{{ a | fail }}{{ b | fail }}" a: "a" b: "b" ---
Liquid
3
AleksandrHovhannisyan/eleventy
test/stubs-computed-symbolparse/test.liquid
[ "MIT" ]
<GameProjectFile> <PropertyGroup Type="Node" Name="captain_jack" ID="a216914d-c0d7-49f6-8da3-6a19dd0dc55f" Version="0.0.0.1" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="54" Speed="0.4"> <Timeline ActionTag="-331241139" FrameType="VisibleFrame"> <BoolFrame Frame...
Csound
3
chukong/CocosStudioSamples
DemoMicroCardGame/CocosStudioResources/cocosstudio/captain_jack.csd
[ "MIT" ]
discard """ targets: "c js" """ # see also: tdeques, tlists, tcritbits import sets, tables, sequtils block tapply: var x = @[1, 2, 3] x.apply(proc(x: var int) = x = x+10) x.apply(proc(x: int): int = x+100) x.applyIt(it+5000) doAssert x == @[5111, 5112, 5113] block tmapit: var x = @[1, 2, 3] # This m...
Nimrod
5
JohnAD/Nim
tests/collections/tcollections.nim
[ "MIT" ]
domain: "{ S2[i0, 1] : i0 >= 0 and i0 <= 9; S1[i0, 1] : i0 >= 0 and i0 <= 9; S3[i0, 1] : i0 >= 0 and i0 <= 9 }" child: context: "{ [] }" child: schedule: "[{ S3[i0, i1] -> [(i0)]; S1[i0, i1] -> [(i0)]; S2[i0, i1] -> [(i0)] }, { S3[i0, i1] -> [(i1)]; S1[i0, i1] -> [(i1)]; S2[i0, i1] -> [(i1)] }]" options: "{...
Smalltalk
3
chelini/isl-haystack
test_inputs/codegen/cloog/block2.st
[ "MIT" ]
.release-table tr { display: grid; grid-auto-flow: column; grid-template-columns: 1fr 4fr; }
CSS
3
GizMan/portainer
app/kubernetes/views/applications/helm/helm.css
[ "Zlib" ]
0 code_t "proc*" 1 reg32_t "dword" 2 union(code_t,ptr(num32_t)) "Union_0" 3 ptr(TOP) "void*" 4 ptr(union(ptr(TOP),num32_t)) "Union_4*" 5 ptr(array(reg8_t,44)) "unknown_352*" 6 ptr(reg64_t) "qword*" 7 ptr(reg32_t) "dword*" 8 num32_t "LONG" 9 ptr(code_t) "proc**" 10 ptr(struct(0:array(reg8_t,60),60:num32_t)) "StructFrag_...
BlitzBasic
1
matt-noonan/retypd-data
data/libidn.dll.decls
[ "MIT" ]
Red/System [ Title: "A Fixed Size FIFO Multi-Producer Multi-Consumer (MPMC) Queue" Author: "Xie Qingtian" File: %queue.reds Tabs: 4 Rights: "Copyright (C) 2019 Xie Qingtian. All rights reserved." License: { Distributed under the Boost Software License, Version 1.0. See https://github.com/red/red/blob/master/...
Red
5
GalenIvanov/red
runtime/queue.reds
[ "BSL-1.0", "BSD-3-Clause" ]
+/ 3.2 4, 8 3
APL
0
mbudde/apltail
tests/test23.apl
[ "MIT" ]