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
ruleset io.picolabs.last2 { meta { name "This second ruleset tests that `last` only stops the current ruleset" } rule foo { select when last all send_directive("last2 foo"); } }
KRL
4
CambodianCoder/pico-engine
test-rulesets/last2.krl
[ "MIT" ]
package inline import kotlin.reflect.KProperty inline operator fun Inline.setValue(receiver: Any?, prop: KProperty<*>, value: Int) { println(value * 2) }
Groff
3
qussarah/declare
jps-plugin/testData/incremental/pureKotlin/delegatedPropertyInlineExtensionAccessor/inlineSet.kt.new.2
[ "Apache-2.0" ]
"""Support the UPB PIM.""" import voluptuous as vol import homeassistant.helpers.config_validation as cv DOMAIN = "upb" ATTR_ADDRESS = "address" ATTR_BLINK_RATE = "blink_rate" ATTR_BRIGHTNESS = "brightness" ATTR_BRIGHTNESS_PCT = "brightness_pct" ATTR_RATE = "rate" CONF_NETWORK = "network" EVENT_UPB_SCENE_CHANGED = ...
Python
4
tbarbette/core
homeassistant/components/upb/const.py
[ "Apache-2.0" ]
#!/usr/bin/env bash rm -rf .idea find . -name "*.iml" -type f -exec rm -rf {} \; find . -name "build" -type d -exec rm -rf {} \;
Shell
3
YashBangera7/AndroidUtilCode
script/clean.sh
[ "Apache-2.0" ]
TDObjectGatewayLeafNode{#name:'GsDevKit_home',#contents:'^ TDGitRepositoryEntryDefinition new projectName: \'GsDevKit_home\'; status: #(#\'active\'); gitRepoDirectoryPath: \'$GS_HOME\'; yourself'}
STON
1
ahdach/GsDevKit_home
sys/default/server/projects/GsDevKit_home.ston
[ "MIT" ]
# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # Author Matthew Kennedy <mkennedy@gentoo.org> # $Header: /home/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.1 2002/10/29 04:40:18 mkennedy Exp $ # This eclass sets the site-lisp directory for emacs-related...
Gentoo Eclass
4
yamadharma/gentoo-portage-local
eclass/kbd.eclass
[ "CC-BY-4.0" ]
#!/usr/bin/env bats load helpers @test "Test network create" { echo $(docker ps) run dnet_cmd $(inst_id2port 1) network create -d test mh1 echo ${output} [ "$status" -eq 0 ] run dnet_cmd $(inst_id2port 1) network ls echo ${output} line=$(dnet_cmd $(inst_id2port 1) network ls | grep mh1) ...
Shell
4
xiaoding945/moby
libnetwork/test/integration/dnet/simple.bats
[ "Apache-2.0" ]
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=C:\Program Files (x86)\AutoIt3\Icons\au3.ico #AutoIt3Wrapper_Outfile=UsnJrnl2Csv.exe #AutoIt3Wrapper_Outfile_x64=UsnJrnl2Csv64.exe #AutoIt3Wrapper_Compile_Both=y #AutoIt3Wrapper_UseX64=y #AutoIt3Wrapper_Change2CUI=y #AutoIt3Wrapper_...
AutoIt
4
jschicht/UsnJrnl2Csv
UsnJrnl2Csv.au3
[ "CC-BY-3.0" ]
.Language=Russian,Russian (Русский) .PluginContents=LuaFAR History .Options CtrlColorChar=\ @Contents $ #LuaFAR History (версия #{VER_STRING}) - Содержание -# #LuaFAR History# - это плагин, предназначенный для отображения историй команд, папок и редактирования/просмотра файлов. При показе списка истории, его пункт...
MAXScript
3
shmuz/far_plugins
plugins/luafarhistory/lfh_rus.hlf.mcr
[ "MIT" ]
<meta content="text/html; charset=<%= @options.charset %>" http-equiv="Content-Type"> <title><%= h @title %></title> <link type="text/css" media="screen" href="<%= asset_rel_prefix %>/rdoc.css" rel="stylesheet"> <script type="text/javascript"> var rdoc_rel_prefix = "<%= rel_prefix %>/"; </script> <script type="te...
RHTML
3
prathamesh-sonpatki/jruby
lib/ruby/2.0/rdoc/generator/template/darkfish/_head.rhtml
[ "Ruby", "Apache-2.0" ]
--TEST-- Bug #72021 (ldap_escape() with DN flag is not RFC compliant) --CREDITS-- Chad Sikorra <Chad.Sikorra@gmail.com> --EXTENSIONS-- ldap --FILE-- <?php $subject = " Joe,= \rSmith "; var_dump(ldap_escape($subject, '', LDAP_ESCAPE_DN)); ?> --EXPECT-- string(24) "\20Joe\2c\3d \0dSmith\20"
PHP
3
NathanFreeman/php-src
ext/ldap/tests/bug72021.phpt
[ "PHP-3.01" ]
\ @(#) floats.fth 98/02/26 1.4 17:51:40 \ High Level Forth support for Floating Point \ \ Author: Phil Burk and Darren Gibbs \ Copyright 1994 3DO, Phil Burk, Larry Polansky, Devid Rosenboom \ \ The pForth software code is dedicated to the public domain, \ and any third party may reproduce, distribute and modify \ the p...
Forth
5
610t/retrobsd
src/cmd/pforth/fth/floats.fth
[ "BSD-3-Clause" ]
; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #include "Common.iss" [Setup] AppVersion=1.3.4 VersionInfoVersion=1.3.4.0 AppVerName=GLInterceptx64 1.3.4 DefaultDirName={pf}\GLInterceptx64_1_3_4 OutputBaseFilename=GLInterceptx64_1_3_4 App...
Inno Setup
3
vinjn/glintercept
3rdParty/Install/installScriptx64.iss
[ "MIT" ]
(import [collections.abc [Iterable]]) (import [collections [deque]]) ;; (defn extract_messages [sources] ;; """Returns messages, taking ;; them one by one from each source. ;; If source returns None, then it ;; should be skipped. ;; """ ;; (setv sources (list (map iter sources))) ;; (setv...
Hy
4
svetlyak40wt/python-processor
src/processor/pipeline.hy
[ "BSD-2-Clause" ]
=pod =head1 NAME EVP_PKEY_encapsulate_init, EVP_PKEY_encapsulate - Key encapsulation using a public key algorithm =head1 SYNOPSIS #include <openssl/evp.h> int EVP_PKEY_encapsulate_init(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]); int EVP_PKEY_encapsulate(EVP_PKEY_CTX *ctx, unsigned c...
Pod
5
pmesnier/openssl
doc/man3/EVP_PKEY_encapsulate.pod
[ "Apache-2.0" ]
(require '[com.walmartlabs.lacinia.resolve :refer [with-extensions]]) (defn resolve-user [context args value] (let [start-ms (System/currentTimeMillis) user-data (get-user-data (:id args)) elapsed-ms (- (System/currentTimeMillis) start-ms)] (with-extensions user-data update :total-db-acce...
edn
4
hagenek/lacinia
docs/_examples/extension.edn
[ "Apache-2.0" ]
struct Set { 1: required set<string> a_set }
Thrift
0
JonnoFTW/thriftpy2
tests/type.thrift
[ "MIT" ]
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 / 1 2 0 / 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
Octave
0
CristiRO/Monalisa
WEBS/WEB_GRAPH/WEB-INF/classes/lia/web/servlets/map2d/images/map0/map1_2.8/map2_2.8_1.1.oct
[ "Apache-2.0" ]
"""Support for LaMetric time.""" from lmnotify import LaMetricManager import voluptuous as vol from homeassistant.const import CONF_CLIENT_ID, CONF_CLIENT_SECRET from homeassistant.core import HomeAssistant import homeassistant.helpers.config_validation as cv from homeassistant.helpers.typing import ConfigType from ....
Python
5
MrDelik/core
homeassistant/components/lametric/__init__.py
[ "Apache-2.0" ]
// compile-flags: -C no-prepopulate-passes #![crate_type = "lib"] // Hack to get the correct size for the length part in slices // CHECK: @helper([[USIZE:i[0-9]+]] %_1) #[no_mangle] pub fn helper(_: usize) { } // CHECK-LABEL: @no_op_slice_adjustment #[no_mangle] pub fn no_op_slice_adjustment(x: &[u8]) -> &[u8] { ...
Rust
5
Eric-Arellano/rust
src/test/codegen/adjustments.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
/home/spinalvm/hdl/riscv-compliance/work//C.SRLI.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
2
cbrune/VexRiscv
src/test/resources/asm/C.SRLI.elf.objdump
[ "MIT" ]
/* * 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
5
sculptor/sculptor
sculptor-generator/sculptor-generator-configuration/src/main/java/org/sculptor/generator/configuration/CompositeConfigurationProvider.xtend
[ "Apache-2.0" ]
#tag Class Protected Class Assert #tag Method, Flags = &h0 Sub AreDifferent(expected As Object, actual As Object, message As Text = "") If Not (expected Is actual) Then Pass() Else Fail("Objects are the same", message) End If End Sub #tag EndMethod #tag Method, Flags = &h0, Compatibility...
Xojo
5
kingj5/iOSKit
XojoUnit/TestFramework/Assert.xojo_code
[ "MIT" ]
\documentclass{article} \usepackage{agda} \begin{document} \begin{code} import Issue2474 \end{code} \end{document}
Literate Agda
0
cruhland/agda
test/LaTeXAndHTML/succeed/Issue2474-2.lagda
[ "MIT" ]
import java.util.List; import org.opencv.core.Core; import org.opencv.core.Mat; import org.opencv.core.MatOfRect; import org.opencv.core.Point; import org.opencv.core.Rect; import org.opencv.core.Scalar; import org.opencv.core.Size; import org.opencv.highgui.HighGui; import org.opencv.imgproc.Imgproc; import org.openc...
Java
5
thisisgopalmandal/opencv
samples/java/tutorial_code/objectDetection/cascade_classifier/ObjectDetectionDemo.java
[ "BSD-3-Clause" ]
package runci.targets; import sys.FileSystem; import runci.System.*; import runci.Config.*; class Cpp { static public var gotCppDependencies = false; static final miscCppDir = miscDir + 'cpp/'; static public function getCppDependencies() { if (gotCppDependencies) return; //hxcpp dependencies switch (system...
Haxe
5
HaxeFoundation/haxe
tests/runci/targets/Cpp.hx
[ "MIT" ]
# This file is part of NIT ( http://www.nitlanguage.org ). # # Copyright 2014-2015 Alexandre Terrasa <alexandre@moz-code.org> # # 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://ww...
Nit
5
ajnavarro/language-dataset
data/github.com/Morriar/nitrpg/489fde727e3d7945a2786818099fa581808c6c83/src/test_events.nit
[ "MIT" ]
/* Copyright (c) 2014, Jon Erickson 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...
C
2
OsmanDere/metasploit-framework
external/source/exploits/ntapphelpcachecontrol/exploit/sdb.h
[ "BSD-2-Clause", "BSD-3-Clause" ]
#%RAML 1.0 Library types: LoggerLevel: type: string enum: [ trace, debug, info, warn, error ] description: | Enumeration type for all available log level. Loggers: type: object properties: /.*/: string LoggerChange: type: object properties: level: type: Lo...
RAML
4
fquesnel/marathon
docs/docs/rest-api/public/api/v2/types/logging.raml
[ "Apache-2.0" ]
> {-@ LIQUID "--no-termination" @-} > {-@ LIQUID "--short-names" @-} > > module Basics where > > import Prelude hiding (head, max) > import qualified Data.ByteString.Char8 as B > import qualified Data.ByteString.Unsafe as B > import Data.List (find) > import Language.Haskell.Liquid.Prelude Well-typed programs can...
Literate Haskell
5
curiousleo/liquidhaskell
docs/slides/HS2014/Basics.lhs
[ "MIT", "BSD-3-Clause" ]
--TEST-- Bug #38334: Proper data-type support for PDO_SQLITE --EXTENSIONS-- pdo_sqlite --FILE-- <?php $db = new PDO('sqlite::memory:'); $db->exec('CREATE TABLE test (i INTEGER , f DOUBLE, s VARCHAR(255))'); $db->exec('INSERT INTO test VALUES (42, 46.7, "test")'); var_dump($db->query('SELECT * FROM test')->fetch(PDO::F...
PHP
4
NathanFreeman/php-src
ext/pdo_sqlite/tests/bug38334.phpt
[ "PHP-3.01" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R06d05*/ /*Part A*/ %let cont_vars = lot_area gr_liv_area garage_area basement_area deck_porc...
SAS
4
snowdj/sas-prog-for-r-users
code/SP4R06d05.sas
[ "CC-BY-4.0" ]
const std = @import("../std.zig"); const testing = std.testing; const fmt = std.fmt; // Hash using the specified hasher `H` asserting `expected == H(input)`. pub fn assertEqualHash(comptime Hasher: anytype, comptime expected_hex: *const [Hasher.digest_length * 2:0]u8, input: []const u8) !void { var h: [Hasher.dige...
Zig
5
lukekras/zig
lib/std/crypto/test.zig
[ "MIT" ]
jest.mock(`cxs`) import React from "react" import cxs from "cxs" import { onRenderBody } from "../gatsby-ssr" describe(`gatsby-plugin-cxs`, () => { describe(`onRenderBody`, () => { it(`sets the correct head components`, () => { cxs.css = jest.fn(() => `cxs-css`) const setHeadComponents = jest.fn() ...
JavaScript
4
JQuinnie/gatsby
packages/gatsby-plugin-cxs/src/__tests__/gatsby-ssr.js
[ "MIT" ]
module Feature.LegacyGucsSpec where import Network.Wai (Application) import Network.HTTP.Types import Test.Hspec hiding (pendingWith) import Test.Hspec.Wai import Test.Hspec.Wai.JSON import Protolude hiding (get) import SpecHelper spec :: SpecWith ((), Application) spec = describe "remote procedure call...
Haskell
4
fairhopeweb/postgrest
test/spec/Feature/LegacyGucsSpec.hs
[ "MIT" ]
alias xcb='xcodebuild' alias xcdd='rm -rf ~/Library/Developer/Xcode/DerivedData/*' alias xcp='xcode-select --print-path' alias xcsel='sudo xcode-select --switch' # original author: @subdigital # source: https://gist.github.com/subdigital/5420709 function xc { local xcode_proj if [[ $# == 0 ]]; then xcode_proj=...
Shell
4
chensanle/ohmyzsh
plugins/xcode/xcode.plugin.zsh
[ "MIT" ]
#include <oxstd.h> #include <oxdraw.h> #include <oxprob.h> #import <modelbase> #import <simula> main() { decl vReturns; decl iSize = 1000 ; vReturns = rann(iSize,20); decl vMin, vMax, vMean; vMin = minc(vReturns')'; vMean = meanc(vReturns')'; vMax = maxc(vReturns')'; // SetDrawWindow("GRAPH TEST"); // Draw(0,...
Ox
3
tamerdilaver/Simulation
graph_asymptotic_test.ox
[ "MIT" ]
ruleset io.picolabs.did_simulation { meta { shares __testing, servers, serverForDID } global { __testing = { "queries": [ { "name": "__testing" } , { "name": "servers" } , { "name": "serverForDID", "args": [ "did" ] } ]...
KRL
5
CambodianCoder/pico-engine
packages/pico-engine/legacy/krl/io.picolabs.did_simulation.krl
[ "MIT" ]
upstream testservers { server 10.12.13.14; server 127.0.0.1; } server { listen 1314; server_name localhost; location / { proxy_pass http://testservers; proxy_connect_timeout 2s; } }
ApacheConf
4
hnlq715/nginx-prometheus-metrics
test.vhost
[ "MIT" ]
null // Some non-comment top-level value is needed; we use null here.
JSON5
0
leandrochomp/react-skeleton
node_modules/babelify/node_modules/babel-core/node_modules/json5/test/parse-cases/comments/inline-comment-following-top-level-value.json5
[ "MIT" ]
<?xml version="1.0" encoding="utf-8"?> <configurationSectionModel xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.0.0.0" Id="7b8daa9d-fd7e-4040-b9dc-4cebbaf67ce2" namespace="Debugging.IssueTests" xmlSchemaNamespace="urn:Debugging.IssueTests" xmlns="http://schemas.microsoft.com/ds...
Csound
3
skyhoshi/ConfigurationSectionDesigner
src/Debugging/IssueTests/WorkItem6053.csd
[ "MIT" ]
## Licensed to Cloudera, Inc. under one ## or more contributor license agreements. See the NOTICE file ## distributed with this work for additional information ## regarding copyright ownership. Cloudera, Inc. licenses this file ## to you under the Apache License, Version 2.0 (the ## "License"); you may not use this f...
Mako
3
yetsun/hue
desktop/core/src/desktop/templates/home2.mako
[ "Apache-2.0" ]
#ifndef NPY_SIMD #error "Not a standalone header" #endif #ifndef _NPY_SIMD_NEON_REORDER_H #define _NPY_SIMD_NEON_REORDER_H // combine lower part of two vectors #ifdef __aarch64__ #define npyv_combinel_u8(A, B) vreinterpretq_u8_u64(vzip1q_u64(vreinterpretq_u64_u8(A), vreinterpretq_u64_u8(B))) #define npyv...
C
4
iam-abbas/numpy
numpy/core/src/common/simd/neon/reorder.h
[ "BSD-3-Clause" ]
// Regression test of #86162. fn gen<T>() -> T { todo!() } struct Foo; impl Foo { fn bar(x: impl Clone) {} } fn main() { Foo::bar(gen()); //<- Do not suggest `Foo::bar::<impl Clone>()`! //~^ ERROR: type annotations needed }
Rust
3
mbc-git/rust
src/test/ui/inference/issue-86162-2.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>VSDX Importer</title> <script type="text/javascript" src="js/app.min.js"></script> <script type="text/javascript" src="js/extensions.min.js"></script> <script type="text/javascript"> function doImport(vsdxBuff, callback, error, file, customParam) { Editor...
HTML
3
yunbaozhou/drawio
src/main/webapp/vsdxImporter.html
[ "Apache-2.0" ]
:: TEST TOOL U8U16Test @echo off &setlocal cd /d "%~dp0" ..\..\..\x64\Release\U8U16Test.exe echo( pause
Batchfile
2
hessedoneen/terminal
src/tools/U8U16Test/_test.cmd
[ "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. *) module Option = Base.Option module Tbl = Compact_table.Make () type t = { label: char; refs: t Tbl.node option ref list; } l...
OCaml
4
zhangmaijun/flow
src/parser_utils/type_sig/__tests__/compact_table_tests.ml
[ "MIT" ]
# Copyright 2020 The HuggingFace Team. 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 applicabl...
Python
4
liminghao1630/transformers
examples/legacy/seq2seq/old_test_seq2seq_examples_multi_gpu.py
[ "Apache-2.0" ]
.header { font-style: italic; } .container { background-color: #dddddd; padding: 1rem; } .textContent { color: #666; letter-spacing: -1px; } .header { font-style: italic; } .container { background-color: #dddddd; padding: 1rem; } .textContent { color: #666; letter-spacing: -1px; } .header { f...
CSS
0
blomqma/next.js
test/integration/next-dynamic-css/src/Content4.module.css
[ "MIT" ]
(let ((arg5255 (lambda (cont5247 SYf$u) (SYf$u cont5247 SYf$u)))) (let ((arg5254 (lambda (_5242 a5237) (let ((arg5260 (lambda (_5241 M3b$fact) (let ((arg5263 (lambda (_0 x) (let ((_1 (prim halt x))) (_1 _1))))) ...
Component Pascal
3
sinistersnare/SinScheme
tests/passes/clo/cps-fact.cps
[ "MIT" ]
--- title: "Chapter 7" output: html_document: css: style.css highlight: tango --- ```{r, include=FALSE} knitr::opts_chunk$set(cache = FALSE, echo = TRUE, fig.align = "center", comment = "#>", message = FALSE) ``` ```{r} require(data.table) require(ggplot2) theme_set( theme_bw(base_size = 14, base_famil...
RMarkdown
5
chuvanan/rdatatable-cookbook
cookbook/chapter7-cleaning-up-messy-data.rmd
[ "CC-BY-4.0" ]
module FlySuccess.Models exposing ( ButtonState(..) , InputState(..) , Model , TokenTransfer(..) , hover , isClicked ) import Login.Login as Login type alias Model = Login.Model { copyTokenButtonState : ButtonState , sendTokenButtonState : ButtonState , copyTok...
Elm
5
Caprowni/concourse
web/elm/src/FlySuccess/Models.elm
[ "Apache-2.0" ]
[Desktop Entry] Encoding=UTF-8 Name=Johnny Exec=/opt/johnny/johnny Terminal=false Icon=/opt/johnny/johnny-128.png Type=Application Categories=X-BlackArch-Cracker; Comment=GUI for John the Ripper
desktop
0
cyberqueen-meg/blackarch
packages/johnny/johnny.desktop
[ "BSD-3-Clause" ]
#!/usr/bin/env bash # 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...
Shell
5
tsheaff/keras
keras/tools/pip_package/build_pip_package.sh
[ "Apache-2.0" ]
<?Lassoscript // Last modified 10/30/09 by ECL, Landmann InterActive // FUNCTIONALITY // Detail page // CHANGE NOTES // 12/18/07 // Recoded for CMS v 3.0 // 6/9/09 // Added Build Dropdowns // 7/7/09 // Added Build Gallery // 10/30/09 // Removed siteconfig as it is already included in urlhandler. // Debugging // Va...
Lasso
3
subethaedit/SubEthaEd
Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/detail.lasso
[ "MIT" ]
<img src="data-url:./img.svg" />
HTML
2
acidburn0zzz/parcel
packages/core/integration-tests/test/integration/data-url/index.html
[ "MIT" ]
#define VPRT_EMULATION #include "cubeShadowVS_alphatest.hlsl"
HLSL
0
rohankumardubey/WickedEngine
WickedEngine/shaders/cubeShadowVS_alphatest_emulation.hlsl
[ "MIT" ]
{% comment %} The HeadMeta zone is a convention for placement in the <head> section of a layout. The <head> section should not contain html, so by convention widgets are rendered with an empty wrapper. {% endcomment %} {{ Model.Content | shape_render }}
Liquid
4
SvanBoxel/OrchardCore
src/OrchardCore.Themes/TheBlogTheme/Views/Widget.Wrapper-Zone-HeadMeta.liquid
[ "BSD-3-Clause" ]
:- category(simpsons_extended, extends(simpsons)). male(Male) :- ^^male(Male). male(abe). male(herb). female(Male) :- ^^female(Male). female(gaby). female(mona). parent(Parent, Child) :- ^^parent(Parent, Child). parent(abe, homer). parent(abe, herb). parent(gaby, herb). parent(mona, homer). :- en...
Logtalk
4
PaulBrownMagic/logtalk3
examples/family/alt/simpsons_extended.lgt
[ "Apache-2.0" ]
<!DOCTYPE html> <html> <head> <title>window_scroll_into_view_test</title> <script src="test_bootstrap.js"></script> <script type="text/javascript"> goog.require('bot.userAgent'); goog.require('bot.window'); goog.require('goog.dom'); goog.require('goog.math.Coordinate'); goog.require('goog.testing.jsunit'); ...
HTML
5
weilandia/selenium
javascript/atoms/test/window_scroll_into_view_test.html
[ "Apache-2.0" ]
; CLW file contains information for the MFC ClassWizard [General Info] Version=1 ClassCount=17 ResourceCount=11 NewFileInclude1=#include "stdafx.h" Class1=CChildFrame LastClass=CEditIDLink LastTemplate=CDialog Class2=CPortView Class3=CSceneTree Class4=CSceneRender Class5=CNodeView Resource1=IDD_EDITCHOICE Resource2=ID...
Clarion
2
CarysT/medusa
Tools/ScenePort/ScenePort.clw
[ "MIT" ]
<GameProjectFile> <PropertyGroup Type="Scene" Name="crossplatform_UILabel_Editor_1" ID="25848ead-412c-4d99-a737-9312d4f0dfa4" Version="2.1.0.0" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="0" Speed="1.0000" /> <ObjectData Name="Scene" FrameEvent="" CallBackType="Touch" ctyp...
Csound
3
dum999/CocosStudioSamples
CocosStudioProjects/crossplatform_UILabel_Editor_1/cocosstudio/crossplatform_UILabel_Editor_1.csd
[ "MIT" ]
<?xml version="1.0" encoding="UTF-8"?> <faces-config> <faces-config-extension> <namespace-uri>http://www.ibm.com/xsp/custom</namespace-uri> <default-prefix>xc</default-prefix> <public>true</public> </faces-config-extension> <composite-component> <component-type>viewMenu</component-type> <compo...
XPages
3
jesse-gallagher/XPagesExtensionLibrary
extlib/lwp/product/nsf/Discussion/CustomControls/viewMenu.xsp-config
[ "Apache-2.0" ]
/// <reference path='fourslash.ts' /> //// type UType = 1; //// type Bar<T> = T extends { a: (x: infer /*1*/) => void; b: (x: infer U/*2*/) => void } //// ? U //// : never; verify.completions({ marker: test.markers(), exact: undefined });
TypeScript
5
monciego/TypeScript
tests/cases/fourslash/completionListAtIdentifierDefinitionLocations_infers.ts
[ "Apache-2.0" ]
INSERT INTO USER(ID, USERNAME, VIN) values (123, 'sframework', '01234567890123456');
SQL
2
Martin-real/spring-boot-2.1.0.RELEASE
spring-boot-samples/spring-boot-sample-test/src/test/resources/data.sql
[ "Apache-2.0" ]
package jflex.benchmark; /* A scanner with minimal action code, to measure inner matching loop performance. */ %% %public %class NoAction %int %{ private int matches; %} SHORT = "a" LONG = "b"+ %% {SHORT} { matches++; } {LONG} { matches++; } "このマニュアルについて" { matches++; } "😎" { match...
JFlex
4
Mivik/jflex
benchmark/src/main/jflex/no-action.flex
[ "BSD-3-Clause" ]
#include <iostream> #include <fstream> #include <cstdlib> #include <string> #include <cinttypes> #include "wasm.hh" // A function to be called from Wasm code. auto callback( const wasm::Val args[], wasm::Val results[] ) -> wasm::own<wasm::Trap> { std::cout << "Calling back..." << std::endl; std::cout << "> " <...
C++
5
rajeev02101987/arangodb
3rdParty/V8/v7.9.317/third_party/wasm-api/example/hostref.cc
[ "Apache-2.0" ]
Released MC*2.3*42 SEQ #39 Extracted from mail message **KIDS**:MC*2.3*42^ **INSTALL NAME** MC*2.3*42 "BLD",7031,0) MC*2.3*42^MEDICINE^0^3080623^y "BLD",7031,1,0) ^^2^2^3080623^ "BLD",7031,1,1,0) Please refer to the National Patch Module for the detail of this patch "BLD",7031,1,2,0) build. "BLD",7031,4,0) ^9.64PA^^ "...
Genshi
2
josephsnyder/VistA-1
Packages/Medicine/Patches/MC_2.3_42/mc-2p3_seq-39_pat-42.kid
[ "Apache-2.0" ]
import Demo "../../backend/Demo"; module { public let demoScript : [Demo.Command] = [ #reset(#script 0), // clear CanCan state and set timeMode to #script. #createTestData{ users = ["alice", "bob", "cathy", "dex", "esther"]; videos = [ ("alice", "dog0"), ("alice",...
Modelica
4
gajendraks/cancan
service/Demo/Can32_ViralEvent.mo
[ "Apache-2.0" ]
import Prim "mo:⛔"; type List<T> = ?{head : T; var tail : List<T>}; type Subscription = { post : shared Text -> (); // revokable by Server cancel : shared () -> (); }; type ClientData = { id : Nat; client : Client; var revoked : Bool; }; actor class Server() = { flexible var nextId : Nat = 0; flexibl...
Modelica
4
olaszakos/motoko
test/run/chatpp.mo
[ "Apache-2.0" ]
#!/usr/bin/env bash ##### Test Debug Utility ##### ############################## # Use this script to run the ngcc integration test locally # in isolation from the other integration tests. # This is useful when debugging the ngcc code-base. set -u -e -o pipefail cd "$(dirname "$0")" node $(pwd)/../../scripts/buil...
Shell
4
raghavendramohan/angular
integration/ivy-i18n/debug-test.sh
[ "MIT" ]
POST http://localhost:62841/documents Content-Type: application/json { "Id": "document-1", "Author": { "Name": "Amanda" } } ###
HTTP
3
tomy2105/elsa-core
src/samples/aspnet/Elsa.Samples.DocumentApproval/post-document.http
[ "MIT" ]
(module)
WebAssembly
1
tlively/wasm-bindgen
crates/cli/tests/interface-types/empty.wat
[ "Apache-2.0", "MIT" ]
size: 2048px 1200px; dpi: 240; limit-x: 1 5; limit-y: 0 10000; scale-y: log; lines { data-x: csv("test/testdata/log_example.csv" x); data-y: csv("test/testdata/log_example.csv" y); }
CLIPS
3
asmuth-archive/travistest
test/plot-lines/lines_logscale.clp
[ "Apache-2.0" ]
// min-lldb-version: 310 // ignore-gdb // Test temporarily ignored due to debuginfo tests being disabled, see PR 47155 // compile-flags:-g // === GDB TESTS =================================================================================== // gdbg-command:print 'simple_struct::NO_PADDING_16' // gdbr-command:print si...
Rust
4
mbc-git/rust
src/test/debuginfo/simple-struct.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
import "regent" local stdlib = terralib.includec("stdlib.h") local stdio = terralib.includec("stdio.h") local cstring = terralib.includec("string.h") local c = regentlib.c --Writes out the output using c function calls. task model_write(step: int, sea_surface : region(ispace(int2d), uvt_time_field),...
Rouge
4
stfc/PSycloneBench
benchmarks/nemo/nemolite2d/manual_versions/regent/model_write.rg
[ "BSD-3-Clause" ]
digraph { graph [rankdir=LR]; node [fontname=Arial shape=rect penwidth=2 color="#DAB21D" style=filled fillcolor="#F4E5AD"] {rank=same "api.rst" "index.rst" "tutorial.rst" } node [shape=rect penwidth=2 color="#708BA6" style=filled fillcolor="#DCE9ED"] {rank=same "api.html" "index.html" "tutorial.html" } node...
Graphviz (DOT)
3
adlerliu/500lines
contingent/contingent-images/figure1.dot
[ "CC-BY-3.0" ]
%%% %%% Author: %%% Thorsten Brunklaus <bruni@ps.uni-sb.de> %%% %%% Copyright: %%% Thorsten Brunklaus, 1999 %%% %%% Last Change: %%% $Date$ by $Author$ %%% $Revision$ %%% %%% This file is part of Mozart, an implementation of Oz 3: %%% http://www.mozart-oz.org %%% %%% See the file "LICENSE" or %%% http://www...
Oz
5
Ahzed11/mozart2
lib/tools/inspector/InspectorOptions.oz
[ "BSD-2-Clause" ]
/* ** Case Study Financial Econometrics 4.3 ** ** Purpose: ** Estimate all Student's t GAS model parameters ( nu, omega, A and B) ** ** Date: ** 16/01/2015 ** ** Author: ** Tamer Dilaver, Koen de Man & Sina Zolnoor ** ** Supervisor: ** L.F. Hoogerheide & S.J. Koopman ** */ #include <oxstd.h...
Ox
5
tamerdilaver/Group4_Code_Data
CS_SIM_2_t-GAS.ox
[ "MIT" ]
*------------------------------------------------------------------------------- * Write output GDX *------------------------------------------------------------------------------- execute_unload '%resdir%%outgdx%.gdx' * item list $if exist 'algo/algoitemlist.txt' $include 'algo/algoitemlist.txt' * equations $batinc...
GAMS
3
witch-team/witchmodel
post/gdx.gms
[ "Apache-2.0" ]
insert into USER values (101, 'user1', 'comment1'); insert into USER values (102, 'user2', 'comment2'); insert into USER values (103, 'user3', 'comment3'); insert into USER values (104, 'user4', 'comment4'); insert into USER values (105, 'user5', 'comment5'); insert into DOCUMENT values (1, 'doc1', 101); insert into D...
SQL
2
DBatOWL/tutorials
persistence-modules/spring-boot-persistence-h2/src/main/resources/data-trans.sql
[ "MIT" ]
package com.baeldung.interview; import org.junit.Test; import java.io.UnsupportedEncodingException; import java.nio.charset.StandardCharsets; import static org.junit.Assert.assertArrayEquals; public class StringToByteArrayUnitTest { @Test public void whenGetBytes_thenCorrect() throws UnsupportedEncodingExce...
Java
4
DBatOWL/tutorials
core-java-modules/core-java-strings/src/test/java/com/baeldung/interview/StringToByteArrayUnitTest.java
[ "MIT" ]
a ← (0 1 0 1=1 1 1 1) / ⍳ 4 ⍝ --> 2 4 b ← ⊃ ⍴ a ⍝ --> 2 c ← +/a ⍝ --> 6 b + c ⍝ --> 8
APL
3
melsman/apltail
tests/compress.apl
[ "MIT" ]
-- Generate the Host.hs and Version.hs as done by hadrian/src/Rules/Generate.hs import GHC.Platform.Host import GHC.Version main = do writeFile "Version.hs" versionHs writeFile "Host.hs" platformHostHs -- | Generate @Version.hs@ files. versionHs :: String versionHs = unlines [ "module GHC.Version where" ...
Haskell
4
siddhantk232/nixpkgs
pkgs/development/compilers/ghcjs/8.10/generate_host_version.hs
[ "MIT" ]
digraph graphname { accessibility_features [label="Accessibility Features"]; feature_chromevox [label="ChromeVox (Spoken feedback)"]; feature_select_to_speak [label="Select to Speak"]; frameworks [label="Frameworks"]; chrome_automation [label="chrome.automation api"]; chrome_text_to_speech [labe...
Graphviz (DOT)
3
chromium/chromium
docs/accessibility/os/figures/architecture.gv
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
<cfif thisTag.executionMode eq 'start'> </cfif>
ColdFusion CFC
0
tonym128/CFLint
src/test/resources/com/cflint/tests/VariableNameChecker/thisTag_479.cfc
[ "BSD-3-Clause" ]
FancySpec describe: Integer with: { it: "returns its decimals as an array" with: 'decimals when: { (0..9) each: |i| { i decimals is: [i] } 10 decimals is: [1, 0] 100 decimals is: [1, 0, 0] 123 decimals is: [1, 2, 3] 998811 decimals is: [9, 9, 8, 8, 1, 1] -0 decimals is: [0] -10 decimals is...
Fancy
4
bakkdoor/fancy
tests/integer.fy
[ "BSD-3-Clause" ]
; machine.lsp -- machine/system-dependent definitions ; rs6000 (if (not (boundp '*default-sf-format*)) (setf *default-sf-format* snd-head-NeXT)) (if (not (boundp '*default-sound-file*)) (compute-default-sound-file)) (if (not (boundp '*default-sf-dir*)) (setf *default-sf-dir* "/tmp/")) (if (not (boundp ...
Common Lisp
5
joshrose/audacity
lib-src/libnyquist/nyquist/sys/unix/rs6k/system.lsp
[ "CC-BY-3.0" ]
Class jsondecoder Field txt$ Field i Field curchr$ Field things:List<jsonvalue> Method getnext(tokens$[],onlywhitespace=1) Local oldi=i While i<txt.Length Local c$=txt[i..i+1] i+=1 For Local token$=Eachin tokens If c=token curchr=c Return 1 Endif Next If onlywhitespace And ...
Monkey
5
blitz-research/monkey
bananas/warpy/json/json.monkey
[ "Zlib" ]
class App.FromNowView extends Ember.View tagName: 'time' template: Ember.Handlebars.compile '{{view.output}}' output: ~> return moment(@value).fromNow() didInsertElement: -> @tick() tick: -> f = -> @notifyPropertyChange 'output' @tick() next...
EmberScript
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/EmberScript/momentComponent.em
[ "MIT" ]
//===--- STLExtrasTest.cpp ------------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
C++
4
lwhsu/swift
unittests/Basic/STLExtrasTest.cpp
[ "Apache-2.0" ]
diff -r -u ./Modules/_ctypes/libffi_osx/LICENSE ./Modules/_ctypes/libffi_osx/LICENSE new file mode 100644 index 0000000..f591795 --- /dev/null +++ ./Modules/_ctypes/libffi_osx/LICENSE @@ -0,0 +1,20 @@ +libffi - Copyright (c) 1996-2003 Red Hat, Inc. + +Permission is hereby granted, free of charge, to any person obtaini...
Diff
5
zhongxiang117/pyenv
plugins/python-build/share/python-build/patches/2.5.6/Python-2.5.6/004_osx_libffi.patch
[ "MIT" ]
<div n:foreach="$form->controls as $input" n:class="$input->required ? required"></div>
Latte
3
timfel/netbeans
php/php.latte/test/unit/data/testfiles/lexer/top/n-multiple-in-one-element.latte
[ "Apache-2.0" ]
DAFETF NAIF DAF ENCODED TRANSFER FILE 'DAF/CK ' '2' '6' 'VO2 PLATFORM ATTITUDE; CREATED BY BVS/NAIF; 2006-FEB-09 ' BEGIN_ARRAY 1 670 'VO2 ATT. BASED ON GEM AND SEDR FILES ' '12CAEC0F81^A' '12CB16DD0C^A' '-7530' '2' '2' '1' 670 '605119A622EED4^-1' '-2FEA9A6DF74D3^0' 'FB2C40430DD82^0' 'AC4E997ABF6BA^-1' '0^0' '0^...
XC
3
ladoramkershner/ale
tests/pytests/data/f704b28/vo2_sedr_ck2_0_sliced_-30000.xc
[ "Unlicense" ]
// dot -Tpng third_party/blink/renderer/modules/csspaint/images/addModule_registerPaint.png.dot > third_party/blink/renderer/modules/csspaint/images/addModule_registerPaint.png // When making modifications run the above command to regenerate the diagram digraph { label = "Workflow of addModule and registerPaint"; ...
Graphviz (DOT)
4
zealoussnow/chromium
third_party/blink/renderer/modules/csspaint/images/addModule_registerPaint.png.dot
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
file(GLOB_RECURSE FILES_TO_REMOVE ${REMOVE_FILE_GLOB}) if(FILES_TO_REMOVE) file(REMOVE ${FILES_TO_REMOVE}) endif()
CMake
3
uga-rosa/neovim
third-party/cmake/RemoveFiles.cmake
[ "Vim" ]
.svg-background .clip-1 clip-path: url("#clip-path")
Stylus
2
acidburn0zzz/parcel
packages/core/integration-tests/test/integration/stylus-id-url/index.styl
[ "MIT" ]
bash <(curl -s https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.sh)
Shell
2
Jellyfrog/PowerShell
tools/download.sh
[ "MIT" ]
<!DOCTYPE html> <html> <head> <title>Issue 1436</title> </head> <body> <script type="text/javascript"> window.getParent = function (n) { for (; !function (n) { return n === n.parent }(n) && function (n) { try { if (void 0 == n.location.href) { retu...
HTML
3
bkucera2/cypress
packages/driver/cypress/fixtures/issue-1436.html
[ "MIT" ]
# Copyright (c) 2020 vesoft inc. All rights reserved. # # This source code is licensed under Apache 2.0 License. Feature: Test yield constant after pipe Background: Given a graph with space named "nba" Scenario: yield constant after pipe When executing query: """ GO FROM "Tim Duncan" OVER * YI...
Cucumber
4
liuqian1990/nebula
tests/tck/features/bugfix/TestYieldConstantAfterPipe.feature
[ "Apache-2.0" ]