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
# take input from the user num = as.integer(readline(prompt="Enter a number: ")) factorial = 1 # check is the number is negative, positive or zero if(num < 0) { print("Sorry, factorial does not exist for negative numbers") } else if(num == 0) { print("The factorial of 0 is 1") } else { for(i in 1:num) { factorial = fac...
R
4
JesseVermeulen123/bat
tests/syntax-tests/source/R/test.r
[ "Apache-2.0", "MIT" ]
--# -path=.:../abstract:../common -- documentation of French in French: the default introduced in LangFre concrete DocumentationFre of Documentation = CatFre ** DocumentationFreFunctor with (Terminology = TerminologyFre) ;
Grammatical Framework
3
daherb/gf-rgl
src/french/DocumentationFre.gf
[ "BSD-3-Clause" ]
FROM functions/nodebase:alpine-6.9.1 ENV NODE_ENV=dev COPY handler.js .
Dockerfile
2
lihaiswu/faas
sample-functions/NodeHelloEnv/Dockerfile
[ "MIT" ]
# =============================================================================== # http://www.gnu.org/software/autoconf-archive/ax_cflags_strict_prototypes.html # =============================================================================== # # SYNOPSIS # # AX_CFLAGS_STRICT_PROTOTYPES [(shellvar [,default, [A/NA]...
M4
4
joshrose/audacity
lib-src/libscorealign/autotools/m4/ax_cflags_strict_prototypes.m4
[ "CC-BY-3.0" ]
// \pp 03\25\11 // tests the fidelity of translating THREADS shared[4] int X[THREADS*4]; shared int Y[THREADS]; // shared int Z[2 * THREADS+1]; /* not yet supported */ int main() { int x = 2 * THREADS; int y = THREADS; int z = 2 * THREADS + 1; }
Unified Parallel C
3
maurizioabba/rose
tests/CompileTests/UPC_tests/threads_in_expression.upc
[ "BSD-3-Clause" ]
use std::ops::FnMut; pub fn main() { let mut f = |x: isize, y: isize| -> isize { x + y }; let z = f(1_usize, 2); //~ ERROR mismatched types println!("{}", z); }
Rust
3
Eric-Arellano/rust
src/test/ui/unboxed-closures/unboxed-closures-type-mismatch.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
# Check that we properly handle a change to the number of outputs on a composite # rule. # Perform the initial build # # RUN: rm -rf %t.build # RUN: mkdir -p %t.build # RUN: ln -s %s %t.build/build.ninja # RUN: echo "build input-1 input-2: ECHO" > %t.build/output-specs.ninja # RUN: echo "build output: CAT input-1 inpu...
Ninja
4
trombonehero/swift-llbuild
tests/Ninja/Build/changed-multiple-outputs-command.ninja
[ "Apache-2.0" ]
function omf.reload -d "Reload fish process via exec, keeping some context" set -q CI; and return 0 history --save set -gx dirprev $dirprev set -gx dirnext $dirnext set -gx dirstack $dirstack set -gx fish_greeting '' exec fish end
fish
4
codetriage-readme-bot/oh-my-fish
pkg/omf/functions/core/omf.reload.fish
[ "MIT" ]
(ns todomvc.components.todo-edit (:require [reagent.core :as reagent] [todomvc.actions :as actions] [todomvc.helpers :as helpers])) (defn on-key-down [k id title default editing] (let [key-pressed (.-which k)] (condp = key-pressed helpers/enter-key (actions/save-todo id title edit...
Clojure
5
dtelaroli/todomvc
examples/reagent/src/cljs/todomvc/components/todo_edit.cljs
[ "MIT" ]
--TEST-- Bug #72971 (2): SimpleXML property write does not respect namespace --EXTENSIONS-- simplexml --FILE-- <?php $xml = new SimpleXMLElement('<root xmlns:ns="ns"><foo>bar</foo><ns:foo>ns:bar</ns:foo></root>'); $xml->foo = 'new-bar'; var_dump($xml->foo); var_dump($xml->children('ns')->foo); $xml->children('ns')->...
PHP
4
NathanFreeman/php-src
ext/simplexml/tests/bug72971_2.phpt
[ "PHP-3.01" ]
: HELLO ( -- ) ." Hello Forth (fth)!" ; HELLO
Forth
3
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Forth/hello-forth.fth
[ "MIT" ]
- view: page_views derived_table: sql: | SELECT -- user a.user_id AS user_custom_id, a.domain_userid AS user_snowplow_domain_id, a.network_userid AS user_snowplow_crossdomain_id, -- sesssion a.domain_sessionid AS session_id, a.domain_sessionidx A...
LookML
5
chuwy/snowplow-build-test
5-data-modeling/web-model/looker/web-block-old-lookml/page_views.view.lookml
[ "Apache-2.0" ]
#define NORMAL_AS_3D #include "common.hlsl" struct VS_OUTPUT { float4 pos : POSITION; half4 color : TEXCOORD0; half2 texCoord : TEXCOORD1; float3 coord : TEXCOORD2; }; #ifdef VERTEX VS_OUTPUT main(VS_INPUT In) { VS_OUTPUT Out; Out.color = (half4)In.aColor; Out.texCoord = (half2)In.a...
HLSL
4
guitarpukpui/OpenLara
src/shaders/sky.hlsl
[ "BSD-2-Clause" ]
!macro customInstall SetRegView 64 WriteRegStr HKCR "*\shell\PicGo" "" "Upload pictures w&ith PicGo" WriteRegStr HKCR "*\shell\PicGo" "Icon" "$INSTDIR\PicGo.exe" WriteRegStr HKCR "*\shell\PicGo\command" "" '"$INSTDIR\PicGo.exe" "upload" "%1"' SetRegView 32 WriteRegStr HKCR "*\shell\PicGo" "" "Upload p...
NSIS
4
friend-ma/PicGo
build/installer.nsh
[ "MIT" ]
local info = { Version = { #{VER_MAJOR}, #{VER_MINOR}, #{VER_MICRO}, 0 }, MinFarVersion = #{MINFARVERSION}, Guid = win.Uuid("8e11ea75-0303-4374-ac60-d1e38f865449"), Title = "LuaFAR Search", Description = "Plugin for search and replace", Author = "Shmuel Zeigerman", } functio...
MAXScript
4
shmuz/far_plugins
plugins/luafarsearch/_globalinfo.lua.mcr
[ "MIT" ]
/* eslint-env jest */ import { parseRelativeUrl } from 'next/dist/shared/lib/router/utils/parse-relative-url' // convenience function so tests can be aligned neatly // and easy to eyeball const check = (windowUrl, targetUrl, expected) => { window.location = new URL(windowUrl) as any if (typeof expected === 'string...
TypeScript
5
nazarepiedady/next.js
test/unit/parse-relative-url.test.ts
[ "MIT" ]
.Wrapper { flex: 1; } .Option { max-width: 100%; padding: 0.25rem 0; } .OptionDisabled { opacity: .5; } .Label, .Input { font-size: 1em; } :global(.CodeMirror) { height: auto; font-size: 0.75rem; }
CSS
3
bjornstar/react-virtualized
source/demo/Wizard/Wizard.css
[ "MIT" ]
using StringTools; /***** INHERITANCE *****/ class Parent { public var seen = []; public function new() { seen.push("parent"); } } class Child extends Parent { override public function new(){ super(); // mandatory, and only works from new, for some reason :/ seen.push("child"); } } class HaxeExa...
Haxe
5
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Haxe/HaxeExamples.hx
[ "MIT" ]
static const uint32_t in_com1[2209] = { 0xbc2a6b72, 0xbe5302a4, 0xbe851f28, 0xbde85867, 0x3e060969, 0x3dd11a7e, 0xbe26a669, 0xbe18f3a1, 0xbe933111, 0xbeebb5ca, 0x3e20f2dd, 0xbe547c76, 0xbeb0f580, 0xbe9e95cb, 0xbed62921, 0xbe6e19ee, 0xbda9575d, 0xbe7e58ce, 0xbe728c31, 0x3ee6b5c8, 0x3ee66649, 0x3e...
Max
1
psychogenic/zephyr
tests/lib/cmsis_dsp/matrix/src/unary_f32.pat
[ "Apache-2.0" ]
import path from "path" export const getCacheDir = (root: string): string => path.join(root, `.cache`, `caches`, `gatsby-plugin-image`)
TypeScript
4
pipaliyajaydip/gatsby
packages/gatsby-plugin-image/src/node-apis/node-utils.ts
[ "MIT" ]
package com.baeldung.serenity.spring.stories; import com.baeldung.serenity.spring.steps.AdderRestSteps; import net.thucydides.core.annotations.Steps; import org.jbehave.core.annotations.Given; import org.jbehave.core.annotations.Then; import org.jbehave.core.annotations.When; /** * @author aiet */ public class Adde...
Java
4
zeesh49/tutorials
libraries/src/test/java/com/baeldung/serenity/spring/stories/AdderStory.java
[ "MIT" ]
/// <include file="Gui.xml" path="doc/FixedText/*" /> CLASS FixedText INHERIT TextControl //PP-030915 PROTECT _dwDrawStyle AS DWORD PROTECT _dwMargin AS DWORD EXPORT lUseDrawText AS LOGIC EXPORT lDrawThemeBackground AS LOGIC /// <exclude /> METHOD __SetColors(_hDC AS PTR) AS PTR STRICT //PP-031129 IF SELF:lU...
xBase
5
orangesocks/XSharpPublic
Runtime/VOSDK/Source/VOSDK/GUI_Classes_SDK/FixedText.prg
[ "Apache-2.0" ]
-- ============================================================== -- RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and OpenCL -- Version: 2020.2 -- Copyright (C) 1986-2020 Xilinx, Inc. All Rights Reserved. -- -- =========================================================== library IEEE; use IEEE.st...
VHDL
1
hito0512/Vitis-AI
Whole-App-Acceleration/apps/resnet50/build_flow/DPUCVDX8G_vck190/vck190_platform/hw/source/ip/isppipeline_accel/hdl/vhdl/blackLevelCorrection.vhd
[ "Apache-2.0" ]
<div> <header></header> <hr class="quick-offline"> <section class="quick-offline"> <h3>LOOKS LIKE<BR>YOU'RE OFFLINE</h3> </section> <section class="quick-offline"> <p class="gray justify">you can create & edit new documents, and open offline-documents, but features that requir...
Kit
2
pws1453/web-client
source/imports/app/docs-blank-editor.kit
[ "MIT" ]
.Alert { padding: .5rem margin: 1rem border-radius: 0.25rem background-color: white &.info { color: white background-color: #5352ED } &.positive { background-color: #2ED573 } &.negative { background-color: #FF4757 } &.warning { background-color: #FFA502 } }
Stylus
3
jreynard-code/docz
examples/stylus/src/components/Alert.styl
[ "MIT" ]
# Copyright (C) 2003-2009, Parrot Foundation. .sub _ext_main print "in ext.pir\n" new P2, 'Undef' print P2 .begin_return .end_return .end # Local Variables: # mode: pir # fill-column: 100 # End: # vim: expandtab shiftwidth=4 ft=pir:
Parrot Internal Representation
3
winnit-myself/Wifie
src/dynpmc/ext.pir
[ "Artistic-2.0" ]
fn f1<'a>(x: u8, y: &'a ...) {} //~^ ERROR C-variadic type `...` may not be nested inside another type fn f2<'a>(x: u8, y: Vec<&'a ...>) {} //~^ ERROR C-variadic type `...` may not be nested inside another type fn main() { let _recovery_witness: () = 0; //~ ERROR mismatched types }
Rust
0
Eric-Arellano/rust
src/test/ui/parser/variadic-ffi-nested-syntactic-fail.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
--- title: Icons page-header: Icons menu: base.icons --- {% assign icons-brand = '' | split: ',' %} {% assign icons-core = '' | split: ',' %} {% for icon in site.data.icons %} {% assign i = icon[0] %} {% if i contains 'brand-' %} {% assign icons-brand = icons-brand | push: i %} {% else %} {% assign icons-core = icons...
HTML
4
muhginanjar/tabler
src/pages/icons.html
[ "MIT" ]
lexer grammar t001lexer; options { language = JavaScript; } ZERO: '0';
G-code
3
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t001lexer.g
[ "Apache-2.0" ]
FROM envoyproxy/envoy-dev:latest COPY ./envoy.yaml /etc/envoy.yaml RUN chmod go+r /etc/envoy.yaml CMD ["/usr/local/bin/envoy", "-c /etc/envoy.yaml"]
Dockerfile
4
dcillera/envoy
examples/udp/Dockerfile
[ "Apache-2.0" ]
#@namespace scala io.buoyant.router.thriftscala service PingService { string ping( 1: string msg ) }
Thrift
3
mahak/linkerd
router/thrift-idl/src/main/thrift/ping.thrift
[ "Apache-2.0" ]
[STAThread]; FUNCTION Start() AS INT LOCAL oXApp AS XApp TRY oXApp := XApp{} oXApp:Start() CATCH oException AS Exception ErrorDialog(oException) END TRY RETURN 0 CLASS XApp INHERIT App METHOD Start() local oDlg as OrderDialog oDlg := OrderDialog{} oDlg:Show() return nil END CLASS
xBase
3
orangesocks/XSharpPublic
Tests/TypedSDK/Pizza/Start.prg
[ "Apache-2.0" ]
require 'digest-rails/opal_lib/sub_controller' require 'digest-rails/opal_lib/quick_html_table' require 'axle/opal_lib/digest_helpers' require 'digest-rails/opal_lib/hot_helpers' require 'digest-rails/opal_lib/hot_like_table' require 'digest-rails/opal_lib/table' class DigestSectionController < SubController def ...
Opal
3
bcavileer/digest-rails
app/assets/javascripts/digest-rails/opal_lib/hold/digest_section_controller.js.opal
[ "MIT" ]
import system.io def lifted_test : reader_t ℕ (state_t ℕ io) unit := do 0 ← read, -- unlifted 1 ← get, -- transparently lifted through reader_t put 2, 2 ← get, modify (+1), 3 ← get, put 4 <|> put 5, 4 ← get, -- left branch wins modify (+1) >> monad_fail.fail "" <|> modify (+2), 6 ← ge...
Lean
5
ericrbg/lean
tests/lean/run/state.lean
[ "Apache-2.0" ]
static X: usize = unsafe { core::ptr::null::<usize>() as usize }; //~^ ERROR: pointers cannot be cast to integers during const eval fn main() { assert_eq!(X, 0); }
Rust
3
mbc-git/rust
src/test/ui/consts/issue-17458.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
== Efficient JSON-compatible binary format: "Smile" == "Smile" is codename for an efficient JSON-compatible binary data format, initially developed by Jackson JSON processor project team. For design on "Project Smile", which implements support for this format, see [[SmileFormatDesignGoals | Smile Format design goals]...
Creole
4
GerHobbelt/libsmile
doc/SmileFormatSpec.creole
[ "Apache-2.0" ]
require "benchmark" MY_PI = 3.1415 my-pi1() -> MY_PI 'inline my-pi2() -> MY_PI Benchmark.ips 4, 10, (x) ~> begins x.report ~> z1 = 1.0 for x in 1..100000 z1 = z1 * MY_PI + MY_PI x.report ~> z2 = 1.0 for x in 1..100000 z2 = z2 * my-pi1 + my-pi1 x.report ~> z3 = 1.0 for x i...
Ox
3
ozra/onyx-lang
spec/onyx-alpha-throwups/constant-vs-proxied-constant.ox
[ "Apache-2.0" ]
' ********** Copyright 2019 Roku, Inc. All Rights Reserved. ********** function RAFX_getSSAIPluginBase(params as object) as Object daisdk = {} daisdk.init = function(params=invalid as object) as Void m.createImpl() m.createEventCallbacks() m.updateLocale() m.logLevel = 0 if invalid <> params if invalid <> params["logL...
Brightscript
4
khangh/samples
advertising/rsgyspc/lib/rafxssai.brs
[ "MIT" ]
_super = (cls, self, method, ...) -> fn = if method == "new" cls.__parent.__init else cls.__parent.__base[method] fn @, ... -- _class "Hello", { -- print_name: => print "hello!" -- }, AnotherClass _class = (name, tbl, extend, setup_fn) -> cls = if extend class extends extend new: tbl and ...
MoonScript
4
tommy-mor/lapis
lapis/lua.moon
[ "MIT", "Unlicense" ]
<!DOCTYPE html> <body> <h2>Supplier's Declaration of Conformity: 47 CFR § 2.1077 Compliance Information</h2> <h3>Unique Identifier</h3> <p>comma three</p> <h3>Authorized Components</h3> <h5>Thundersoft TurboX D845 SOM</h5> <p>FCC ID: 2AOHHTURBOXSOMD845</p> <h5>Quectel/EG25-G</h5> <p>FCC ID: XMR20190...
HTML
1
shoes22/openpilot
selfdrive/assets/offroad/fcc.html
[ "MIT" ]
CREATE TABLE `tb_gcekkribdm` ( `col_xpuntwyhls` int(253) unsigned zerofill DEFAULT NULL, `col_doacvjtxfj` text CHARACTER SET utf8, `col_vbxxcedehr` varbinary(72) DEFAULT '\0', `col_spnkzcnaaj` tinyint(221) unsigned zerofill DEFAULT NULL, `col_lctlnulyqs` varchar(141) CHARACTER SET utf8 DEFAULT '', `col_vdaf...
SQL
3
yuanweikang2020/canal
parse/src/test/resources/ddl/alter/mysql_53.sql
[ "Apache-2.0" ]
example : ℕ × ℕ := {fst := have ℕ, from 0, by exact this, snd := 0}
Lean
2
ericrbg/lean
tests/lean/run/structure_instance_delayed_abstr.lean
[ "Apache-2.0" ]
(debug) (load "../lib/all.gf") (env fire (width 50 height 25 max-y (- height 1) buf (Bin/new (* width height)) out stdout max-fade 50 avg-frames 0 avg-time .0) (fun ctrl (args..) (print out "\e[" args..)) (fun clear () (ctrl "2J")) (fun home () (ctrl "H")...
Grammatical Framework
4
daota2/fffff
v1/demo/fire.gf
[ "MIT" ]
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // sampler2D tex : s0; uniform float4 mode : c0; // Passthrough Pixel Shader // Outputs texture 0 sampled at texcoord 0. float4 passthroughp...
PostScript
4
agramonte/corona
external/Angle/Project/src/libGLESv2/renderer/shaders/Blit.ps
[ "MIT" ]
// FIR filter demo program, Perry R. Cook, Oct 2012 // This shows how to load filter coefficients // explicitly, in this case with a Sinc lowpass filter Noise n => Gain g => FIR f => WvOut w => dac; w.wavFilename("temp.wav"); 127 => f.order; f.coeff(64,1.0); for (1 => int i; i < 63; i++) { (i * pi)/4.0 => float ...
ChucK
3
ccdarabundit/chugins
FIR/examples/FIRSincExplicit.ck
[ "MIT" ]
dlg : dialog { label = "textEditAd"; initial_focus = "userValue"; : column { : row { : list_box { height = 20; width = 36; key = "listbox"; allow_accept = true; } } :row { : edit_box { label = "newstr"; key = "userValue"; //value = ""; ...
Clean
3
acaduser/otools
command/textEditAd.dcl
[ "MIT" ]
\data\ ngram 1=88 ngram 2=680 ngram 3=1816 \1-grams: -2.5346286 <unk> 0 0 <s> -1.1612923 -1.3083265 </s> 0 -1.7379138 (69,False) -0.30323333 -1.6440431 (64,False) -0.34543043 -1.6731358 (60,False) -0.3797113 -1.6440431 (57,False) -0.40104002 -1.0733433 ||| -0.7543727 -1.774328 (69,True) -0.29889613 -1.6440431 (64,True...
DNS Zone
3
HPG-AI/bachbot
languagemodel/bach_kenlm.arpa
[ "MIT" ]
This is en__es example 1 Esto es ejemplo en__es 1 1279257697000,en es,tuid-0001 This is en__es example 2 Esto es ejemplo en__es 2 1279257697000,en es-ES,tuid-0002 This is en__es example 3 Esto es ejemplo en__es 3 1279257697000,en es-MX,tuid-0003 This is en__es example 4 Esto es ejemplo en__es 4 1279257697000,en es-CO,t...
ColdFusion CFC
0
Centaurioun/modernmt
test/testcases/res/onlinelearning/Memory.en__es.cfc
[ "Apache-2.0" ]
module.exports = "c";
JavaScript
1
1shenxi/webpack
test/statsCases/async-commons-chunk/c.js
[ "MIT" ]
cell(:LexicalBlock) -> = method(other, outsideSelf = self if(cell?(:activatable) && activatable, fnx(arg, cell(:other) call(cell(:outsideSelf) call(arg))), fn(arg, cell(:other) call(cell(:outsideSelf) call(arg))))) cell(:LexicalBlock) ∘ = method(other, outsideSelf = self if(cell?(:activatable) && acti...
Ioke
3
olabini/ioke
src/builtin/H10_lexicalBlock.ik
[ "ICU", "MIT" ]
package app.services; import com.google.inject.AbstractModule; public class ArticleServiceModule extends AbstractModule { @Override protected void configure() { bind(ArticleService.class).to(ArticleServiceImpl.class) .asEagerSingleton(); } }
Java
4
zeesh49/tutorials
java-lite/src/main/java/app/services/ArticleServiceModule.java
[ "MIT" ]
@sans_bold: 'Helvetica Neue', 'Foo Bar'; #world[zoom>=11][zoom<=22][reflen<=8][type='bicycle'] { [network='ncn'],[network='rcn'] { shield-name: "[ref]"; shield-face-name: @sans_bold; shield-file: url(img/shield-motorway-1.png); [network='ncn'] { [reflen=8] { shield-file: ...
CartoCSS
3
nimix/carto
test/rendering-mss/issue_232.mss
[ "Apache-2.0" ]
/* headers anchors */ .offset-anchor { position: relative; display: block; top: calc(-1 * (var(--nav-h) + var(--top-offset)) + 11rem); width: 0; height: 0; } .anchor { position: absolute; display: block; background: url(/icons/link.svg) 0 50% no-repeat; background-size: 1em 1em; width: 1.4em; height: 1em; ...
CSS
4
Theo-Steiner/svelte
site/static/global.css
[ "MIT" ]
#summary Home page for documentation and resources about the Yamaha DX7 = Overview = The Yamaha DX7 was the first highly successful purely digital synthesizer, and the best selling synthesizer of its day. It is based on FM synthesis, invented by John Chowning at Stanford University in the early 1970's. As with any s...
MediaWiki
3
google-admin/music-synthesizer-for-android
wiki/YamahaDx7.wiki
[ "Apache-2.0" ]
# # Copyright 2015 © 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/AircraftMesher/744b4e2c0c7d052639803322a8cec6862a0d1369/AircraftMesher.glf
[ "MIT" ]
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2017, Intel Corporation, all rights reserved. // Third party copyrights are property of their respective o...
C++
4
thisisgopalmandal/opencv
modules/dnn/src/caffe/caffe_shrinker.cpp
[ "BSD-3-Clause" ]
(* Content-type: application/vnd.wolfram.mathematica *) (*** Wolfram Notebook File ***) (* http://www.wolfram.com/nb *) (* CreatedBy='Mathematica 12.3' *) (*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 158, 7] NotebookDataLengt...
Mathematica
3
astroC86/stalin-sort
wolfram/stalin-sort.nb
[ "MIT" ]
; CLW file contains information for the MFC ClassWizard [General Info] Version=1 ClassCount=1 ResourceCount=1 NewFileInclude1=#include "stdafx.h" Class1=CPortView LastClass=CPortView LastTemplate=CFormView Resource1=IDD_NODEVIEW [DLG:IDD_NODEVIEW] Type=1 Class=CPortView ControlCount=17 Control1=IDC_EDIT1,edit,1350631...
Clarion
1
CarysT/medusa
Tools/NodeSpritePort/NodeSpritePort.clw
[ "MIT" ]
# Normally, variables should be file-local, but this file is loaded with {bare: # true}, so it should be readable by bare_tests.js VariableSetByCoffeeBareTestSetup = 5678
CoffeeScript
1
joseconstela/meteor
packages/non-core/coffeescript/tests/bare_test_setup.coffee
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
@font-face { font-family: "Test"; src: url("./fonts/test.woff2") format("woff2"); } .index { background: url("http://google.com"); }
Less
2
johanberonius/parcel
packages/core/integration-tests/test/integration/less-url/index.less
[ "MIT" ]
// // Copyright (c) XSharp B.V. All Rights Reserved. // Licensed under the Apache License, Version 2.0. // See License.txt in the project root for license information. // BEGIN NAMESPACE XSharpModel STATIC CLASS XEditorSettings STATIC PROPERTY ShowGrid AS LOGIC AUTO := TRUE STATIC PROPERTY GridX A...
xBase
3
orangesocks/XSharpPublic
VisualStudio/XSharpCodeModelXs/Settings/XEditorSettings.prg
[ "Apache-2.0" ]
//tab_size=4 // Copyright 2021 nickmqb // SPDX-License-Identifier: Apache-2.0 GenerateState struct #RefType { comp Compilation out StringBuilder ins List<byte> labelAddr Map<string, int> toPatch Map<string, List<UnresolvedGoto>> jumpTargets Map<int, JumpTarget> jumpTargetsList List<JumpTarget> lastStackOp Stac...
mupad
5
nickmqb/fpga_craft
kasm/generator.mu
[ "Apache-2.0" ]
"""Test reproduce state for Light.""" import pytest from homeassistant.components import light from homeassistant.components.light.reproduce_state import DEPRECATION_WARNING from homeassistant.core import State from homeassistant.helpers.state import async_reproduce_state from tests.common import async_mock_service ...
Python
5
mtarjoianu/core
tests/components/light/test_reproduce_state.py
[ "Apache-2.0" ]
package com.baeldung.concurrent.runnable; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import org.apache.commons.lang3.RandomUtils; import org.junit.AfterClass; import org.junit.BeforeClass; import org.jun...
Java
5
zeesh49/tutorials
core-java-concurrency/src/test/java/com/baeldung/concurrent/runnable/RunnableVsThreadLiveTest.java
[ "MIT" ]
// This source file is part of the Swift.org open source project // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the li...
Swift
1
lwhsu/swift
validation-test/compiler_crashers_fixed/02005-swift-parser-parsedeclvargetset.swift
[ "Apache-2.0" ]
Rebol [ Title: "Test Ping Pong Server" File: %test-pingpong-server.r3 Note: { Based on original Port examples which can be found at: https://web.archive.org/web/20131012055435/http://www.rebol.net:80/wiki/Port_Examples } ] print "Ping pong server" server: open tcp://:8080 server/awake: func [event /local por...
Rebol
4
semarie/rebol3-oldes
src/tests/test-pingpong-server.r3
[ "Apache-2.0" ]
module TopModule( input logic clk, input logic rst, output logic [21:0] outOther, input logic [1:0] sig, input logic flip, output logic [1:0] sig_out, output logic [15:0] passThrough); MyInterface #(.WIDTH(4)) MyInterfaceInstance(); SubModule1 u_SubModule1 ( .clk(clk), .rst(r...
SystemVerilog
4
kallisti5/yosys
tests/svinterfaces/svinterface1.sv
[ "ISC" ]
#N canvas 872 46 759 894 12; #X obj 100 150 inlet~; #X obj 436 211 loadbang; #X obj 159 590 * -1; #X obj 99 615 +~; #X obj 181 717 +~; #X obj 181 816 outlet~; #X obj 509 296 pow; #X obj 456 320 *; #X floatatom 456 361 0 0 0 0 - - - 0; #X obj 100 524 *~ 0; #X obj 270 387 pow; #X text 486 360 delay \, msec; #X floatatom ...
Pure Data
4
myQwil/pure-data
extra/rev1-stage.pd
[ "TCL" ]
// edition:2018 // // Tests that the .await syntax can't be used to make a generator async fn foo() {} fn make_generator() { let _gen = || foo().await; //~^ ERROR `await` is only allowed inside `async` functions and blocks } fn main() {}
Rust
4
Eric-Arellano/rust
src/test/ui/async-await/issues/issue-51719.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
from .converters import * # noqa: F403
Python
0
Hacky-DH/pytorch
torch/fx/experimental/fx2trt/__init__.py
[ "Intel" ]
<?xml version="1.0" encoding="iso-8859-1"?> <!-- $Id: streamsinclude.xsl,v 1.1 2003-10-27 15:12:20 chregu Exp $ --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > <xsl:output method="xml" encoding="iso-8859-1" indent="no"/> <xsl:include href="compress.zlib://xslt.xsl.gz"/> </x...
XSLT
3
donsbot/hhvm
hphp/test/zend/good/ext/xsl/tests/streamsinclude.xsl
[ "PHP-3.01", "Zend-2.0" ]
<% provide :title, "Deliver new inbound email by source" %> <h1>Deliver new inbound email by source</h1> <%= form_with(url: main_app.rails_conductor_inbound_email_sources_path, local: true) do |form| %> <div> <%= form.label :source, "Source" %><br> <%= form.text_area :source, size: "80x60" %> </div> <%...
HTML+ERB
4
Jiwoong/rails
actionmailbox/app/views/rails/conductor/action_mailbox/inbound_emails/sources/new.html.erb
[ "MIT" ]
# # Copyright 2014 (c) Pointwise, Inc. # All rights reserved. # # This sample Pointwise 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
4
smola/language-dataset
data/github.com/pointwise/Semicircle/a0e1662231fc57083a0b74ab98f1013e546bc549/Semicircle.glf
[ "MIT" ]
{% set list = ['lmno','efgh','Ijk','Pqrs','Abcd'] %} {% set result = list | sorted_ignorecase() %} {% include 'jinja_filters/common.sls' %}
SaltStack
3
byteskeptical/salt
tests/integration/files/file/base/jinja_filters/data_sorted_ignorecase.sls
[ "Apache-2.0" ]
-- Copyright 2020-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 url = require("url") local json = require("json") name = "GoogleCT" type = "cert" local hdrs={ Connection="close", Referer="https://transparencyrepor...
Ada
4
Elon143/Amass
resources/scripts/cert/googlect.ads
[ "Apache-2.0" ]
MEMORY { FLASH_TEXT (rw) : ORIGIN = 0x00000000 + 0x1C000, LENGTH = 0x80000 - 0x1C000 RAM (xrw) : ORIGIN = 0x20000000 + 0x1e20, LENGTH = 0x20000 - 0x1e20 } _stack_size = 4K + __softdevice_stack; /* These values are needed for the Nordic SoftDevice. */ __app_ram_base = ORIGIN(RAM); __softdevice_stack = ...
Linker Script
3
attriaayush/tinygo
targets/nrf52833-s113v7.ld
[ "Apache-2.0" ]
<article class="news_item"> <header class="news_item-header"> <p class="news_item-source"> <%= render_source_image(@conn, @item) %> <%= render_source_name(@conn, @item) %> </p> <h2 class="news_item-title"><%= @item.headline %></h2> </header> <div class="news_item-toolbar"> <div class=...
HTML+EEX
3
PsOverflow/changelog.com
lib/changelog_web/templates/news_item/_summary_upcoming.html.eex
[ "MIT" ]
'reach 0.1'; export const main = Reach.App( { }, [Participant('Alice', {}), Participant('Bob', {}), ], (Alice, Bob) => { closeTo(Bob, each([Alice, Bob], () => { interact.showResult(5); })); });
RenderScript
3
chikeabuah/reach-lang
hs/t/n/Err_Invalid_Statement.rsh
[ "Apache-2.0" ]
--# -path=.:../abstract:../common:../../prelude concrete StructuralTur of Structural = CatTur ** open ResTur, ParadigmsTur, Prelude in { flags optimize=all ; coding = utf8 ; lin he_Pron = mkPron "o" "onu" "ona" "onun" "onda" "ondan" "onlu" "onsuz" Sg P3 ; i_Pron = mkPron "ben" "beni" ...
Grammatical Framework
4
drbean/GF
lib/src/turkish/StructuralTur.gf
[ "BSD-3-Clause" ]
// TARGET_BACKEND: JVM_OLD interface Base1 { fun getX(): Int } interface Base2 { val x: Int get() = 1 } interface <!CONFLICTING_INHERITED_JVM_DECLARATIONS, CONFLICTING_INHERITED_JVM_DECLARATIONS!>Test<!> : Base1, Base2
Kotlin
3
Mu-L/kotlin
compiler/testData/diagnostics/testsWithJvmBackend/duplicateJvmSignature/traitImpl/defaultVsNonDefault_old.kt
[ "ECL-2.0", "Apache-2.0" ]
# RUN: llc -run-pass=peephole-opt %s -o - -verify-machineinstrs | FileCheck %s # The and -> ands transform is sensitive to scheduling; make sure we don't # transform cases which aren't legal. # CHECK-LABEL: name: foo_transform # CHECK: %2:gpr = ANDri %0, 1, 14, $noreg, def $cpsr # CHECK-NEXT: %3:gpr = MOVCCi16 %...
Mirah
3
medismailben/llvm-project
llvm/test/CodeGen/ARM/tst-peephole.mir
[ "Apache-2.0" ]
# The INPUT HEADER is scanned for declarations # LIBNAME INPUT HEADER ERROR-TABLE FILE L OSSLTEST e_ossltest_err.h e_ossltest_err.c
eC
2
xumia/debian-openssl
engines/e_ossltest.ec
[ "OpenSSL" ]
open function variable x : list nat #check x^.map (+1) #check x^.foldl (+) 0 def f (l : list (nat × nat)) : list nat := l^.map (λ ⟨a, b⟩, a + b) example : [(1,2), (3,4)]^.map (uncurry (+)) = [3, 7] := rfl example : [(1,2), (3,4)]^.map (λ ⟨a, b⟩, a + b) = [3, 7] := rfl instance decidable_uncurry_pred{α} (p : α → ...
Lean
4
ericrbg/lean
tests/lean/run/as_is_elab.lean
[ "Apache-2.0" ]
.svg-content= image_tag 'illustrations/no-packages.svg' .text-content %h4.text-center= _('There are no packages yet') %p - no_packages_url = help_page_path('administration/packages/index') - no_packages_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: no_packages...
Haml
4
glimmerhq/glimmerhq
app/views/shared/packages/_no_packages.html.haml
[ "MIT" ]
""" We define base classes that will be inherited by Timestamp, Timedelta, etc in order to allow for fast isinstance checks without circular dependency issues. This is analogous to core.dtypes.generic. """ from cpython.datetime cimport datetime cdef class ABCTimestamp(datetime): pass
Cython
3
CJL89/pandas
pandas/_libs/tslibs/base.pyx
[ "BSD-3-Clause" ]
(module (import "env" "printInt" (func $printInt (param i32))) (import "env" "print" (func $print (param i32 i32))) (memory $memory 1) (data (i32.const 0) "\n") (data (i32.const 1) " ") (func $endl (call $print (i32.const 0) (i32.const 1))) (func $space (call $print (i32.const 1) (i32.const 1)))...
WebAssembly
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/WebAssembly/fibonacci.wat
[ "MIT" ]
import { Node, Literal, Identifier, MemberExpression } from 'estree'; export function compare_node(a: Node | void, b: Node | void) { if (a === b) return true; if (!a || !b) return false; if (a.type !== b.type) return false; switch (a.type) { case 'Identifier': return a.name === (b as Identifier).name; case ...
TypeScript
4
Theo-Steiner/svelte
src/compiler/compile/utils/compare_node.ts
[ "MIT" ]
<cfoutput> #writeDump(now(), 'HH:mm:ss')# </cfoutput>
ColdFusion CFC
1
tonym128/CFLint
src/test/resources/com/cflint/tests/WriteDumpChecker/output_hash_625.cfc
[ "BSD-3-Clause" ]
#include "colors.inc" #include "textures.inc" #include "shapes.inc" #include "metals.inc" #include "glass.inc" #include "woods.inc" global_settings {max_trace_level 1000} camera { //Some other interesting angles to look at the cube from in comments: location <-22, 16, -25> // location <-0.1, 0.3, -0.4> // loc...
POV-Ray SDL
4
Cenbe/netbeans-website
netbeans.apache.org/src/content/tutorials/images/sample.pov
[ "Apache-2.0" ]
HEADERS += \ $$PWD/appconfig.h \ $$PWD/appdata.h SOURCES += \ $$PWD/appconfig.cpp \ $$PWD/appdata.cpp
QMake
3
XSxiesi/qt
comtool/api/api.pri
[ "MulanPSL-1.0" ]
using Uno; using Uno.Compiler; using Uno.Testing; using Fuse.Animations; using FuseTest; namespace Fuse.Test { public class EasingTest : TestBase { static float EvaluateAt(Easing e, float k) { return (float)e.Map(k); } static void TestEasingMode(Easing e, float2[] vals, [Call...
Uno
4
helilabs/fuselibs
Source/Fuse.Animations/Tests/Easing.Test.uno
[ "MIT" ]
/** * 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
3
dm20/hadoop-mapreduce
src/contrib/mumak/src/java/org/apache/hadoop/mapred/JobInitializationPollerAspects.aj
[ "Apache-2.0" ]
--TEST-- Bug #45280 (Reflection of instantiated COM classes causes PHP to crash) --EXTENSIONS-- com_dotnet --FILE-- <?php $dict = new COM("Scripting.Dictionary"); $reflection = new ReflectionObject($dict); ob_start(); echo $reflection; ob_get_clean(); echo 'done'; ?> --EXPECT-- done
PHP
3
NathanFreeman/php-src
ext/com_dotnet/tests/bug45280.phpt
[ "PHP-3.01" ]
CJK_WORD 东非/ns/dong fei/null 中华/ns/zhong hua/null 中华/ns/zhong hua/null 中华人民共和国/ns/zhong hua ren min gong he guo/null 中华民国/ns/zhong hua min guo/null 中国/ns/zhong guo/null 中國/nz/zhong guo/null 中非/ns/zhong fei/null 乌克兰/ns/wu ke lan/null 也门/ns/ye men/null 以色列/ns/yi se lie/null 伊拉克/ns/yi la ke/null 伊朗/ns/yi lang/null 俄罗斯/ns/...
Lex
3
passerbya/jcseg
vendors/lexicon/lex-nation.lex
[ "Apache-2.0" ]
# <API name> <API description> # Data Structures ## User (object) Description of User going there ### Properties - name (string) - address (object) - street (object) - name (string) - house number (number) - city (string) - zip (number) ### Properties - id (number) - hobby: sex, drug...
API Blueprint
3
darkcl/drafter
test/fixtures/mson/typed-object.apib
[ "MIT" ]
(set-info :smt-lib-version 2.6) (set-logic QF_UF) (set-info :source | Generated by: Aman Goel (amangoel@umich.edu), Karem A. Sakallah (karem@umich.edu) Generated on: 2018-04-06 Generated by the tool Averroes 2 (successor of [1]) which implements safety property verification on hardware systems. This SMT problem belon...
SMT
3
livinlife6751/infer
sledge/test/smt/QF_UF/2018-Goel-hwbench/QF_UF_blocks.2.prop1_ab_reg_max.smt2
[ "MIT" ]
# no module name: this is an anonymous module function getMain = |args...| { println("getMain called") return DynamicObject() : define("roll", |this| { this: publish("hello", JSON.stringify(DynamicObject() : colorIndex(this: rnd(0,5)) : speed(this: rnd(0,110)) ...
Golo
3
TypeUnsafe/golo-tour
08-golo.37.ToursJUG/11-dynamic/sphero/with-golo/abilities/main.golo
[ "MIT" ]
/*++ Copyright (c) Microsoft Corporation. Licensed under the MIT license. Module Name: - unicode.hpp Abstract: - This file contains global vars for some common wchar values. - taken from input.h Author(s): - Austin Diviness (AustDi) Oct 2017 --*/ #pragma once #define CP_UTF8 65001 #define CP_USA ...
C++
4
hessedoneen/terminal
src/inc/unicode.hpp
[ "MIT" ]
library ieee; use ieee.std_logic_unsigned.all; use ieee.std_logic_1164.all; use ieee.numeric_std.all; entity top_testbench is --test generic ( -- test n : integer := 8 -- test ); -- test end top_testbench; -- test architecture top_testbench_arch of top_testbench is component top is generic ...
VHDL
4
btashton/pygments
tests/examplefiles/test.vhdl
[ "BSD-2-Clause" ]
<?xml version="1.0" encoding="UTF-8"?> <!-- generated with COPASI 4.27 (Build 217) (http://www.copasi.org) at 2020-03-29T14:05:46Z --> <?oxygen RNGSchema="http://www.copasi.org/static/schema/CopasiML.rng" type="xml"?> <COPASI xmlns="http://www.copasi.org/static/schema" versionMajor="4" versionMinor="27" versionDevel="2...
Component Pascal
5
pmendes/COVID19
Models/COVID-19-SEIR.cps
[ "MIT" ]