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
\set dbuser :dbuser SELECT CASE WHEN :'dbuser' = ':dbuser' THEN 'zulip' ELSE :'dbuser' END AS dbuser \gset \set dbname :dbname SELECT CASE WHEN :'dbname' = ':dbname' THEN 'zulip' ELSE :'dbname' END AS dbname \gset \connect postgres DROP DATABASE IF EXISTS :"dbname"; SELECT format($$BEGIN CREATE USER %I; EXCEPTION ...
SQL
3
Pulkit007/zulip
scripts/setup/create-db.sql
[ "Apache-2.0" ]
@completion Feature: fish tab-completion Background: Given my shell is fish Scenario: "pu" matches multiple commands including "pull-request" When I type "git pu" and press <Tab> Then the command should not expand When I press <Tab> again Then the completion menu should offer "pull push pull-r...
Cucumber
4
mbbroberg/hub
features/fish_completion.feature
[ "MIT" ]
create table table_three ( id numeric primary key );
SQL
2
DBatOWL/tutorials
persistence-modules/flyway-repair/src/main/resources/db/migration/V1_2__add_table.sql
[ "MIT" ]
package com.baeldung.partialupdate.model; public class CustomerDto { private long id; public String name; public String phone; //... private String phone99; public CustomerDto(long id) { this.id = id; } public CustomerDto(Customer c) { this.id = c.id; this.name...
Java
4
DBatOWL/tutorials
persistence-modules/spring-data-jpa-enterprise/src/main/java/com/baeldung/partialupdate/model/CustomerDto.java
[ "MIT" ]
SUBROUTINE bratio(a,b,x,y,w,w1,ierr) C----------------------------------------------------------------------- C C EVALUATION OF THE INCOMPLETE BETA FUNCTION IX(A,B) C C -------------------- C C IT IS ASSUMED THAT A AND B ARE NONNEGATIVE, AND THAT X .LE. 1 C AND Y = 1 - X. B...
FORTRAN
4
Ennosigaeon/scipy
scipy/special/cdflib/bratio.f
[ "BSD-3-Clause" ]
<h1>Experiment 3: Management of large number of canisters</h1> <p>Purpose: Measure how latency is affected by the number of canisters. This would be similar to the kinds of workloads that we would expect for OpenChat v2.</p> <pre> For request type t in { Query, Update } For canister c in { Rust nop, Motoko nop } ...
Harbour
3
3cL1p5e7/ic
scalability/templates/run_many_canisters_experiment.html.hb
[ "Apache-2.0" ]
.parent { @at-root { .child1 { width: 100px; } .child2 { width: 200px; } } } .parent { @at-root { .child1 { width: 100px; } .child2 { width: 200px; } } } .parent { @at-root { .child1 { width: 100px; } .child2 { ...
CSS
2
fuelingtheweb/prettier
tests/css_atrule/at-root.css
[ "MIT" ]
// Daniel Shiffman // https://thecodingtrain.com/CodingChallenges/145-2d-ray-casting.html // https://youtu.be/TOEi6T2mtHo // 2D Ray Casting // https://editor.p5js.org/codingtrain/sketches/Nqsq3DFv- class Boundary { PVector a, b; Boundary(float x1, float y1, float x2, float y2) { this.a = new PVector(x1, y1);...
Processing
4
aerinkayne/website
CodingChallenges/CC_145_Ray_Casting/Processing/CC_145_Ray_Casting/boundary.pde
[ "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) 2021 Intel Corporation #include "../test_precomp.hpp" #include "../common/gapi_tests_common.hpp" #incl...
C++
3
yash112-lang/opencv
modules/gapi/test/streaming/gapi_streaming_vpl_device_selector.cpp
[ "Apache-2.0" ]
- content_for :foo do |a, b| i= a = b
Slim
2
kou/sinatra
sinatra-contrib/spec/content_for/takes_values.slim
[ "MIT" ]
/******************************************************************************** * Copyright (c) {date} Red Hat Inc. and/or its affiliates and others * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * http://www.apache.o...
Ceylon
4
Kopilov/ceylon-ide-intellij
source/org/eclipse/ceylon/ide/intellij/runner/SwarmRunConfigurationProducer.ceylon
[ "Apache-2.0" ]
object template pantest; # Very simple pan test file "/long/decimal" = 123; "/long/octal" = 0755; "/long/hexadecimal" = 0xFF; "/double/simple" = 0.01; "/double/pi" = 3.14159; "/double/exponent" = 1e-8; "/double/scientific" = 1.3E10; "/string/single" = 'Faster, but escapes like \t, \n and \x3d don''t work, but '' sho...
Pan
3
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Pan/test.pan
[ "MIT" ]
// (c) Copyright 1995-2018 Xilinx, Inc. All rights reserved. // // This file contains confidential and proprietary information // of Xilinx, Inc. and is protected under U.S. and // international copyright and other intellectual property // laws. // // DISCLAIMER // This disclaimer is not a license and does not grant ...
Verilog
3
JKHHai/galapagos
shells/shell_ips/tcp/repo/tcp_ip_0/tcp_ip.srcs/sources_1/ip/ten_gig_eth_mac_ip/ten_gig_eth_mac_ip.veo
[ "MIT" ]
# -*- coding: utf-8 -*- # # Copyright (C) 2012-2017 The Python Software Foundation. # See LICENSE.txt and CONTRIBUTORS.txt. # """PEP 376 implementation.""" from __future__ import unicode_literals import base64 import codecs import contextlib import hashlib import logging import os import posixpath import sys import z...
Python
4
gilbertekalea/booking.com_crawler
venv/Lib/site-packages/pip/_vendor/distlib/database.py
[ "MIT" ]
describe 'nope' do subject { 42 } it { is_expected.to eq 42 } end
Opal
4
hedgeyedev/opal-rspec
spec-opal/other/ignored_spec.opal
[ "MIT", "Unlicense" ]
package com.baeldung.ctx1; import com.baeldung.parent.IHomeService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class Ctx1Controller { @Autowired ...
Java
4
DBatOWL/tutorials
spring-boot-modules/spring-boot-ctx-fluent/src/main/java/com/baeldung/ctx1/Ctx1Controller.java
[ "MIT" ]
-- ast factory ref = (name="val") -> {"ref", name} str = (contents="dogzone", delim='"') -> {"string", delim, contents} { :ref :str }
MoonScript
3
Shados/moonscript
spec/factory.moon
[ "MIT", "Unlicense" ]
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>Magnetissimo - Web application that indexes all popular torrent sites, and saves it to the local databas...
HTML+EEX
2
Hashim-mansoor/magnetissimo
apps/magnetissimo_web/lib/magnetissimo_web/templates/layout/app.html.eex
[ "MIT" ]
stocks sia metric roa ca historical hcorr volume income balance cashflow sentiment scorr overview valuation financial ownership performance technical ticker -t tsla tsne getpoly getfinnhub getfinviz exit
Gosu
0
minhhoang1023/GamestonkTerminal
scripts/test_stocks_ca.gst
[ "MIT" ]
React = require \react {div, span} = require \react-dom-factories {map} = require \prelude-ls module.exports = class HighlightedText extends React.Component # get-default-props :: a -> Props @default-props = partitions: [] # :: [[Int, Int, String]] text: "" style: {} highlight-...
LiveScript
4
rodcope1/react-selectize-rodcope1
src/HighlightedText.ls
[ "Apache-2.0" ]
@0xd8dd7b35452d1c4f; struct Message { union { a @0 : UInt64; b @1 : Text; } }
Cap'n Proto
2
pdv-ru/ClickHouse
tests/queries/0_stateless/format_schemas/02030_capnp_unnamed_union.capnp
[ "Apache-2.0" ]
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> <PropertyGroup> <ProductVersion>3.5</ProductVersion> <RootNamespace>Sugar.Legacy</RootNamespace> <ProjectGuid>{731210B4-23B2-4D29-9098-0AC41A551241}<...
Oxygene
2
nchevsky/remobjects-sugar
Legacy/Sugar.Legacy.Nougat.iOS.oxygene
[ "BSD-3-Clause" ]
package gw.specContrib.classes.property_Declarations.gosuClassGosuEnh enhancement Errant_GosuEnh_1: Errant_GosuClass_1 { property get MyProp1(): String {return null} //## issuekeys: THE PROPERTY OR FIELD 'MYPROP1' IS ALREADY DEFINED IN THE TYPE 'GW.SPECCONTRIB.AAA.PARSERVSOPENSOURCE.PROPERTIES.PREPARINGFORPUSH....
Gosu
4
tcmoore32/sheer-madness
gosu-test/src/test/gosu/gw/specContrib/classes/property_Declarations/gosuClassGosuEnh/Errant_GosuEnh_1.gsx
[ "Apache-2.0" ]
Block printProfile := method( m := getSlot("self") message writeln(" ", getSlot("self") profilerTime asString(0,6), "s in Block (", getSlot("self") argumentNames join(","), ") ", m label, " ", m lineNumber) ) Core getSlot("CFunction") printProfile := method( writeln(" ", getSlot("self") profilerTime asString(0,6)...
Io
4
akluth/io
libs/iovm/io/Profiler.io
[ "BSD-3-Clause" ]
let encoding = &enc if encoding == 'latin1' if has("unix") let encoding = 'iso-8859-2' else let encoding = 'cp1250' endif endif if encoding == 'utf-8' source <sfile>:p:h/serbian_utf-8.vim elseif encoding == 'cp1250' source <sfile>:p:h/serbian_cp1250.vim elseif encoding == 'cp1251' source <sfile>:p:h/s...
VimL
3
uga-rosa/neovim
runtime/keymap/serbian.vim
[ "Vim" ]
#pragma TextEncoding="UTF-8" #pragma rtGlobals=3 #pragma moduleName = SIDAMExtractLayer #include "SIDAM_Color" #include "SIDAM_Display" #include "SIDAM_Range" #include "SIDAM_Utilities_Control" #include "SIDAM_Utilities_Image" #include "SIDAM_Utilities_ImageInfo" #include "SIDAM_Utilities_Panel" #ifndef S...
IGOR Pro
4
yuksk/SIDAM
src/SIDAM/func/SIDAM_ExtractLayer.ipf
[ "MIT" ]
# mes 2, EM_WSIZE, EM_PSIZE /* * Does basic testing of aar. Unfortunately, aar throws ERANGE on * error, which we can't catch (or at least, the platforms I've looked at * don't allow it to be caught, those platforms which actually throw it on * error). So we just test the non-throwing cases, not the negative o...
Eiffel
3
wyan/ack
tests/plat/core/aar_e.e
[ "BSD-3-Clause" ]
scriptname _Frost_APDatastoreDefaultData extends Quest import FrostUtil import _FrostInternal function SetDefaults_Body() _Frost_ArmorProtectionDatastoreHandler ap = GetClothingDatastoreHandler() ;#################### ; ; Skyrim ; ;#################### ap.SetArmorDataByKey("80145___Skyrim.esm", ap.GEARTY...
Papyrus
4
chesko256/Campfire
Scripts/Source/_Frost_APDatastoreDefaultData.psc
[ "MIT" ]
init python: class DynamicBlink(renpy.display.layout.DynamicDisplayable): """ A dynamic image that blinks every now and then """ def __init__(self, *args, **kwargs): self.current_image = args[1] self.blink_st = -1.0 # arbitrary number to force normal start ...
Ren'Py
4
SentinelWarren/LearnToCodeRPG
game/scripts/blink.rpy
[ "BSD-3-Clause" ]
* { box-sizing: border-box; } body { font-family: monospace; font-size: 12px; }
CSS
3
vegYY/react
fixtures/attribute-behavior/src/index.css
[ "MIT" ]
$TTL 300 @ IN A 10.5.5.5 more1 IN A 10.7.7.7 more2 IN A 10.8.8.8 www IN A 10.6.6.6
DNS Zone
2
hosting-de-labs/dnscontrol
pkg/js/parse_tests/028-dextend/foo.edu.zone
[ "MIT" ]
#MOJO_AUTO_SUSPEND_ENABLED=True Import mojo Class MyApp Extends App Field creates Field suspends,suspend_ms,resume_ms Field tinkle:Sound,tinkle_loop Method OnCreate() #If TARGET="flash" tinkle=LoadSound( "tinkle.mp3" ) #Else If TARGET="android" tinkle=LoadSound( "tinkle.ogg" ) #Else tinkle=LoadSound(...
Monkey
3
blitz-research/monkey
bananas/mak/suspendtest/suspendtest.monkey
[ "Zlib" ]
# The tests of this file aim to get coverage on all the "dismiss" methods # that dismiss all data-types memory in the fork child. like client query # buffer, client output buffer and replication backlog. # Actually, we may not have many asserts in the test, since we just check for # crashes and the dump file inconsiste...
Tcl
4
hpdic/redis
tests/integration/dismiss-mem.tcl
[ "BSD-3-Clause" ]
> {-@ LIQUID "--no-termination" @-} > {-@ LIQUID "--totality" @-} > {-@ LIQUID "--diffcheck" @-} > > module Totality where > > import Prelude hiding (head) > import Language.Haskell.Liquid.Prelude > import Control.Exception.Base One of the most maligned Haskell functions is also one of the simplest. > he...
Literate Haskell
5
curiousleo/liquidhaskell
docs/slides/HS2014/Totality.lhs
[ "MIT", "BSD-3-Clause" ]
static const q7_t in_val[46] = { 0x00, 0x02, 0x04, 0x03, 0x02, 0xFE, 0xFD, 0xFC, 0xFD, 0x00, 0x02, 0x04, 0x03, 0x02, 0xFF, 0xFD, 0xFD, 0xFE, 0x00, 0x03, 0x04, 0x04, 0x01, 0xFF, 0xFC, 0xFC, 0xFD, 0x01, 0x03, 0x04, 0x03, 0x01, 0xFF, 0xFC, 0xFC, 0xFD, 0x00, 0x02, 0x04, 0x03, 0x02, 0xFF, 0xFD, 0xFC,...
Max
1
maxvankessel/zephyr
tests/lib/cmsis_dsp/filtering/src/fir_q7.pat
[ "Apache-2.0" ]
'menu': [ 'label': 'Help' 'submenu': [ {'label': 'Welcome Guide', 'command': 'welcome:show'} ] ]
CoffeeScript
2
Embodimentgeniuslm3/BDB11A0E2DE062D2E39E4C5301B2FE5E
packages/welcome/menus/welcome.cson
[ "MIT" ]
(debug) (load "../lib/all.gf") (test (= (__ foo bar baz) _)) (test (T? T)) (test (not (T? F))) (test (= (type 42) Int)) (test (= (- (+ 1 2) (+ 3 4)) -4)) (test (= (inc 41) 42)) (test (= (inc 43 -1) 42)) (test (= (let foo 1 baz 2) 2)) (let (x 35) (test (= (inc x 7) 42)) (test (= x 42))) (test (= (- 42) -42)...
Grammatical Framework
4
daota2/fffff
v1/test/all.gf
[ "MIT" ]
{:objects {:Root {:fields {:container {:type :Container}}} :Container {:fields {:id {:type String} :leaf {:type String :resolve :leaf}}}} :queries {:root {:type :Root :args {:trigger {:type Boolean}} :resolve :root}}}
edn
4
hagenek/lacinia
dev-resources/mutable-context-schema.edn
[ "Apache-2.0" ]
let $auction := doc("auction.xml") return for $i in $auction/site/regions/australia/item return <item name="{$i/name/text()}">{$i/description}</item>
XQuery
3
santoshkumarkannur/sirix
bundles/sirix-xquery/src/test/resources/xmark/queries/fndoc/q13.xq
[ "BSD-3-Clause" ]
unit VerInfo; { Inno Setup Copyright (C) 1997-2020 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Version info functions } interface uses Windows, SysUtils, Int64Em; {$I VERSION.INC} type TFileVersionNumbers = record MS, LS: L...
Pascal
5
mqt635/issrc
Projects/Verinfo.pas
[ "FSFAP" ]
{ "Version" : 0.2, "ModuleName" : "orbitWithMouse", "Options" : { "Warnings" : "All", "Debug" : true, "Optimization" : "None", "TargetType" : "Executable", "TargetFileName" : "orbitWithMouse", "Libraries" : [ "ecere" ] }, "Platforms" : [ { ...
Ecere Projects
3
N-eil/ecere-sdk
samples/3D/orbitWithMouse/orbitWithMouse.epj
[ "BSD-3-Clause" ]
it("should parse template strings in amd requires", function(done) { var name = "abc"; var suffix = "Test"; var pending = [ require([`./abc/abcTest`], test), require([`./abc/${name}Test`], test), require([`./${name}/${name}Test`], test), require([`./abc/${name}${suffix}`], test), require([String.raw`./${...
JavaScript
4
1shenxi/webpack
test/cases/parsing/complex-require/amd.js
[ "MIT" ]
{{#packageName}} package {{packageName}}; {{/packageName}} import java.util.concurrent.CompletableFuture; import java.util.concurrent.atomic.AtomicBoolean; {{#deprecated}} @java.lang.Deprecated {{/deprecated}} public final class {{className}} { private static final AtomicBoolean registered = new AtomicBoolean...
HTML+Django
4
yyykf/dubbo
compiler/src/main/resources/DubboStub3Single.mustache
[ "Apache-2.0" ]
Users (no admin)
Volt
1
derryberni/mvc
simple-subcontrollers/app/views/users/index.volt
[ "BSD-3-Clause" ]
#N canvas 774 126 595 480 12; #X obj 63 19 +; #X text 46 321 see also:; #X obj 50 346 +~; #X text 363 162 You can supply a creation argument to initialize the right inlet:, f 25; #X obj 439 250 min 20; #X obj 98 19 -; #X obj 132 19 *; #X obj 167 19 /; #X obj 199 19 max; #X obj 234 19 min; #X text 273 18 - binary arithm...
Pure Data
4
myQwil/pure-data
doc/5.reference/operators-help.pd
[ "TCL" ]
%s/self/ctx/g %s/\s\+def forward/ @staticmethod\r def forward/g %s/\s\+def backward/ @staticmethod\r @once_differentiable\r def backward/g
VimL
2
Hacky-DH/pytorch
torch/autograd/_functions/replace.vim
[ "Intel" ]
--TEST-- Test nullsafe in sub-chain of return as ref --FILE-- <?php function &returns_ref($unused) { global $foo; return $foo; } function &returns_ref2() { $null = null; return returns_ref($null?->null); } global $foo; $foo2 = &returns_ref2(); $foo2 = 'foo'; var_dump($foo); ?> --EXPECT-- string(3) ...
PHP
3
NathanFreeman/php-src
Zend/tests/nullsafe_operator/028.phpt
[ "PHP-3.01" ]
// build-pass // Ensures that we don't regress on "implementation is not general enough" when // normalizating under binders. #![feature(no_core)] pub trait Yokeable<'a> { type Output: 'a; } pub struct Yoke<Y: for<'a> Yokeable<'a>> { _yokeable: Y, } impl<Y: for<'a> Yokeable<'a>> Yoke<Y> { pub fn projec...
Rust
5
mbc-git/rust
src/test/ui/associated-types/normalization-generality.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
/********************************************************** Open Streets, DC ================ *An example of street-level map design.* Data used by this map is © OpenStreetMap contributors and distributed under the terms of the Open Database License. See <http://www.openstreetmap.org/copyright> for details. Pattern...
CartoCSS
4
FreeYeti/tilemill
examples/open-streets-dc/style.mss
[ "BSD-3-Clause" ]
"""Test Sensibo diagnostics.""" from __future__ import annotations import aiohttp from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from tests.components.diagnostics import get_diagnostics_for_config_entry async def test_diagnostics( hass: HomeAssistant, hass_cli...
Python
4
liangleslie/core
tests/components/sensibo/test_diagnostics.py
[ "Apache-2.0" ]
macroScript openScriptFile icon:#("set_and_get_paths",3) category:"Tools" toolTip:"Open Script File..." ( max file open )
MAXScript
2
89096000/MaxScript
Workflow/Set Paths/openScriptFile.mcr
[ "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
4
sculptor/sculptor
sculptor-generator/sculptor-active-annotation/src/main/java/org/sculptor/generator/chain/ChainOverrideAwareModule.xtend
[ "Apache-2.0" ]
use v6; say qq/ Problem 13 Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. 37107287533902102798797998220837590246510135740250 .... 20849603980134001723930671666823555245252804609722 53503534226472524250874054075591789781264330331690") /; # 5537376230 # Rakudo returns...
Perl6
4
Wikunia/hakank
perl6/euler13.p6
[ "MIT" ]
/* * Author: Robert Koeninger * License: WTFPL (http://www.wtfpl.net/) */ class Spelling { ** Load sample text and offer corrections for input static Void main(Str[] args) { text := File.os("big.txt").readAllStr counts := Str:Int[:] { def = 0 } text.split.each |word| { counts[word] += 1 } args....
Fantom
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Fantom/sample1.fan
[ "MIT" ]
def alive [x-pos: int, y-pos: int, $grid] { let width = ($grid | get width) let height = ($grid | get height) let data = ($grid | get data) let $left-x = (if $x-pos == 0 { $width - 1} { $x-pos - 1}) let $right-x = (if $x-pos == ($width - 1) { 0 } { $x-pos + 1}) let $up-y = (if $y-pos == 0 { $he...
Nu
4
WindSoilder/nu_scripts
fun/life.nu
[ "MIT" ]
.. bpo: 25709 .. date: 9452 .. nonce: OPX2TS .. release date: 2015-12-06 .. section: Core and Builtins Fixed problem with in-place string concatenation and utf-8 cache. .. .. bpo: 25715 .. date: 9451 .. nonce: 3LLYLj .. section: Windows Python 3.5.1 installer shows wrong upgrade path and incorrect logic for launche...
reStructuredText
0
shawwn/cpython
Misc/NEWS.d/3.5.1.rst
[ "0BSD" ]
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // dofile for LEC script rtl_diff //----------------------------------------------------------------- // read in golden and revised //----------------------------------...
Stata
4
GregAC/opentitan
hw/formal/rtl_diff.do
[ "Apache-2.0" ]
# Copyright 2021 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
Shell
4
DionysisChristopoulos/google-research
implicit_pdf/run.sh
[ "Apache-2.0" ]
jQuery(function ($) { $('time[data-duration]').each(function () { $(this).text(luxon.DateTime.fromSeconds($(this).data('duration')).toRelative()); }); });
HTML+PHP
4
ikafridi/PlayCast
templates/admin/index/index.js.phtml
[ "Apache-2.0" ]
#!/bin/sh set -e set -x test -z "$POSH_VERSION" && set -u PROJECT_SOURCE_DIR=. PROJECT_BINARY_DIR="$PROJECT_SOURCE_DIR/build" KLEE_TEST_DIR="$PROJECT_SOURCE_DIR/test/symbolic/klee" KLEE_BIN_DIR="$PROJECT_BINARY_DIR/klee" KLEE_OUT_DIR="$KLEE_BIN_DIR/out" help() { echo "Usage:" echo echo " $0 -c fname" echo "...
Shell
4
uga-rosa/neovim
test/symbolic/klee/run.sh
[ "Vim" ]
#*************************************************************************** # _ _ ____ _ # Project ___| | | | _ \| | # / __| | | | |_) | | # | (__| |_| | _ <| |___ # \___|\___/|...
M4
4
Greg-Muchka/curl
m4/curl-schannel.m4
[ "curl" ]
<link rel="stylesheet" type="text/css" href="<?= $this->asset("static/prettify.css") ?>" /> <script src="<?= $this->asset("static/prettify.js") ?>"></script> <script src="<?= $this->asset("api_definition.js") ?>"></script> <?php $assets = $this->getAssets() ?> <?php foreach ($assets["css"] as $cssList) { ?> <?ph...
HTML+PHP
3
aleksandr-yulin/zephir
templates/Api/themes/api-base/partials/assets.phtml
[ "MIT" ]
frequency,raw,error,smoothed,error_smoothed,equalization,parametric_eq,fixed_band_eq,equalized_raw,equalized_smoothed,target 20.00,15.16,8.08,15.16,8.08,-8.09,-7.82,-3.44,7.07,7.07,7.08 20.20,15.16,8.09,15.16,8.09,-8.09,-7.82,-3.54,7.07,7.07,7.07 20.40,15.16,8.10,15.16,8.10,-8.10,-7.82,-3.64,7.06,7.06,7.06 20.61,15.16,...
CSV
2
vinzmc/AutoEq
results/innerfidelity/innerfidelity_harman_in-ear_2019v2/PNY Uptown/PNY Uptown.csv
[ "MIT" ]
# Base this image on core-image-base include recipes-core/images/core-image-base.bb SUMMARY = "A console-only image to demonstrate Google Cloud IOT integration \ with Mender OTA Update capability." SPLASH_rpi = "psplash-raspberrypi" IMAGE_FEATURES += "ssh-server-openssh" IMAGE_INSTALL_append = " \ ...
BitBake
4
tjwebb/community
tutorials/cloud-iot-mender-ota/image/meta-gcp-iot/recipes-gcp/images/gcp-mender-demo-image.bb
[ "Apache-2.0", "CC-BY-4.0" ]
'********** Copyright 2016 Roku Corp. All Rights Reserved. ********** sub main() screen = CreateObject("roSGScreen") 'Create SceneGraph screen m.port = CreateObject("roMessagePort") 'Create message port to listen for screen events screen.setMessagePort(m.port) m.scene = screen.CreateScene("Mainscene")...
Brightscript
4
khangh/samples
certification/trickplay-samples-master/RAFSSAI-with-jpeg/source/main.brs
[ "MIT" ]
;; Test the handling of types and record definitions. (defmodule types-test (export all)) ;; Include erlang types and record definitions. ;; (include-file "include_types.hrl") (include-file "include-types.lfe") (defun a () 42)
LFE
3
haetze/lfe
dev/types-test.lfe
[ "Apache-2.0" ]
var x := 1 while {x < 5} do { print(x) x := x + 1 } print("Last: " ++ x)
Grace
3
Dmitri-2/GraceWebsite
js-simple/tests/retired/t010_while_test.grace
[ "MIT", "BSD-3-Clause" ]
INSERT INTO user VALUES('Dogbert');
SQL
0
nicchagil/spring-framework
spring-test/src/test/resources/org/springframework/test/context/jdbc/data-add-dogbert.sql
[ "Apache-2.0" ]
#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/ClampUInt.metal
[ "BSD-3-Clause" ]
class Foo { Void m00() { echo(super) } Void m01() { echo(Obj.super) } Void m02() { x := super } Void m03() { x := Obj.super } }
Fantom
1
fanx-dev/fanx
compiler/testCompilerx/res/regression/test1474.fan
[ "AFL-3.0" ]
#! /usr/bin/env bash set -e TOP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" source "${TOP_DIR}/scripts/apollo.bashrc" export OPT_APOLLO="$(dirname "${APOLLO_SYSROOT_DIR}")" export PREFIX_DIR=/apollo/output LIST_ONLY=0 RESOLVE_DEPS=0 PRE_CLEAN=0 BAZEL_OPTS="--config=opt --config=gpu" SHORTHAND_TARGETS= ...
Shell
4
jzjonah/apollo
scripts/apollo_release.sh
[ "Apache-2.0" ]
package extensions import spock.lang.Retry import spock.lang.Specification @Retry class RetryTest extends Specification { @Retry def 'I will retry three times'() { } @Retry(exceptions = [RuntimeException]) def 'I will retry only on RuntimeException'() { } @Retry(condition = { failure.message.co...
Groovy
4
DBatOWL/tutorials
testing-modules/groovy-spock/src/test/groovy/extensions/RetryTest.groovy
[ "MIT" ]
USING: tools.hexdump kernel sequences tools.test byte-arrays ; { "00000000\n" } [ B{ } hexdump ] unit-test { "00000000 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 abcdefghijklmnop 00000010 71 72 73 74 75 76 77 78 79 7a qrstuvwxyz 0000001a " } [ "abcdefghijklmnopqrstuvwxyz" >byte-arra...
Factor
3
alex-ilin/factor
basis/tools/hexdump/hexdump-tests.factor
[ "BSD-2-Clause" ]
FibSequence = Sequence with( initialize: method( @index = 0 @last1 = 1 @last2 = 1 ), next?: true, next: method( result = case(@index, 0, 1, 1, 1, else, @last1 + @last2) @index++ @last1 = @last2 @last2 = result result ) ) fib = method("Returns a sequence th...
Ioke
3
olabini/ioke
examples/misc/lastFib.ik
[ "ICU", "MIT" ]
# glibc21.m4 serial 5 dnl Copyright (C) 2000-2002, 2004, 2008, 2010-2017 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Test for the GN...
M4
3
YuPf1989/BGAQRCode-Android
zbar/src/main/jni/libiconv-1.15/srcm4/glibc21.m4
[ "Apache-2.0" ]
untyped globalize_all_functions function GiveServerFlag( player, passive ) { if ( !( player.serverFlags & passive ) ) { player.serverFlags = player.serverFlags | passive } // enter/exit functions for specific passives switch ( passive ) { } } function TakeServerFlag( player, passive ) { if ( !PlayerHasSer...
Squirrel
3
GeckoEidechse/NorthstarMods
Northstar.CustomServers/mod/scripts/vscripts/mp/_serverflags.nut
[ "MIT" ]
ruleset io.picolabs.aca.basicmessage { meta { name "Aries Cloud Agent basicmessage protocol" description << Aries RFC 0095: Basic Message Protocol 1.0 did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/basicmessage/1.0/ https://didcomm.org/basicmessage/1.0/ >> use module io.picolabs.aca alias a...
KRL
4
Picolab/aries-cloudagent-pico
krl/io.picolabs.aca.basicmessage.krl
[ "MIT" ]
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=..\..\..\..\Desktop\evernote.ico #AutoIt3Wrapper_Outfile=..\AutoIT\Compiled Exe\evernote_details.exe #AutoIt3Wrapper_Outfile_x64=..\AutoIT\Compiled Exe_64bit\evernote_details.exe #AutoIt3Wrapper_Compression=4 #AutoIt3Wrapper_Compile_Both=y...
AutoIt
4
X-EcutiOnner/Notepad3
test/test_files/StyleLexers/styleLexAU3/evernote_details.au3
[ "BSD-3-Clause" ]
let o : {x : Nat} = object { public var x = 0 };
Modelica
2
olaszakos/motoko
test/fail/const-var-field.mo
[ "Apache-2.0" ]
--TEST-- Bug #61970 (Restraining __construct() access level in subclass gives a fatal error - stays when implementing abstract) --FILE-- <?php abstract class Foo { abstract public function __construct(); } class Bar extends Foo { protected function __construct(){} } ?> --EXPECTF-- Fatal error: Access level to...
PHP
4
NathanFreeman/php-src
Zend/tests/bug61970_1.phpt
[ "PHP-3.01" ]
import Data.Vect tryIndex : {n : _} -> Integer -> Vect n a -> Maybe a tryIndex {n} i xs = case integerToFin i n of Nothing => Nothing Just idx => Just (index idx xs)
Idris
4
Qqwy/Idris2-Erlang
idris2/tests/typedd-book/chapter04/TryIndex.idr
[ "BSD-3-Clause" ]
// Persistence of Vision Ray Tracer Scene Description File // for FreeCAD (http://www.freecadweb.org) #version 3.6; #include "colors.inc" #include "metals.inc" // ---------------------------------------- global_settings { assumed_gamma 1.0 ambient_light color rgb <1.0,1.0,1.0> max_trace_level 20 } //...
POV-Ray SDL
4
edwardvmills/NURBSlib_EVM
development_FC_models/pre-parametric models/fillets_and_blends/curve_group_base_body_01.pov
[ "CC-BY-2.0" ]
# This file is distributed under the same license as the Django package. # # Translators: # Resulkary <resulsaparov@gmail.com>, 2020 msgid "" msgstr "" "Project-Id-Version: django\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-09-08 17:27+0200\n" "PO-Revision-Date: 2020-07-07 20:28+0000\n" "Last-Translator: Res...
Gettext Catalog
3
jpmallarino/django
django/contrib/contenttypes/locale/tk/LC_MESSAGES/django.po
[ "BSD-3-Clause", "0BSD" ]
Function ConditionalAddToRegistry Pop $0 Pop $1 StrCmp "$0" "" ConditionalAddToRegistry_EmptyString WriteRegStr SHCTX "${TRI_UNINSTALL_REG_PATH}" "$1" "$0" ;MessageBox MB_OK "Set Registry: '$1' to '$0'" DetailPrint "Set install registry entry: '$1' to '$0'" ConditionalAddToRegistry_EmptyString: Fun...
NSIS
4
rajeev02101987/arangodb
Installation/Windows/Plugins/AddToRegistry.nsh
[ "Apache-2.0" ]
#include "script_component.hpp" /* Name: TFAR_fnc_hasVehicleRadio Author: NKey Checks for LW radio presence Arguments: 0: Vehicle to check <OBJECT> Return Value: has a LR <BOOL> Example: _present = (vehicle player) call TFAR_fnc_hasVehicleRadio; Public: Yes */ params [["_vehicle", obj...
SQF
4
MrDj200/task-force-arma-3-radio
addons/core/functions/fnc_hasVehicleRadio.sqf
[ "RSA-MD" ]
<div class="panel {{#if disconnected}}error{{/if}}"> {{#if disconnected}} <h4>Disconnected</h4> {{else}} <h5>Connected to</h5> <h4> {{#if me}} {{me}} {{else}} &lt;Unknown&gt; {{/if}} </h4> {{/if}} </div>
Handlebars
4
zadcha/rethinkdb
admin/static/handlebars/sidebar-client_connection_status.hbs
[ "Apache-2.0" ]
/* Component Communication cookbook specific styles */ .seconds { background-color: black; color: red; font-size: 3em; margin: 0.3em 0; text-align: center; width: 1.5em; }
CSS
2
coreyscherbing/angular
aio/content/examples/component-interaction/src/assets/demo.css
[ "MIT" ]
>>>+[[-]>>[-]++>+>+++++++[<++++>>++<-]++>>+>+>+++++[>++>++++++<<-]+>>>,<++[[>[ ->>]<[>>]<<-]<[<]<+>>[>]>[<+>-[[<+>-]>]<[[[-]<]++<-[<+++++++++>[<->-]>>]>>]]<< ]<]<[[<]>[[>]>>[>>]+[<<]<[<]<+>>-]>[>]+[->>]<<<<[[<<]<[<]+<<[+>+<<-[>-->+<<-[> +<[>>+<<-]]]>[<+>-]<]++>>-->[>]>>[>>]]<<[>>+<[[<]<]>[[<<]<[<]+[-<+>>-[<<+>++>- [<->...
Brainfuck
3
saktheeswaranswan/brainfuckinpythonandc
programs/dbfi.bf
[ "MIT" ]
-# -# Copyright (C) 2009-2010 the original author or authors. -# See the notice.md file distributed with this work for additional -# information regarding copyright ownership. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You...
Scaml
3
shreyaspurohit/camel
components/camel-web/src/main/webapp/WEB-INF/scalate/layouts/default.scaml
[ "Apache-2.0" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
5
sbj42/vscode
test/automation/src/editors.ts
[ "MIT" ]
/** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ namespace Phalcon\Dispatcher; /** * Exceptions thrown in Phalcon\Dispatcher/* will use...
Zephir
4
zsilbi/cphalcon
phalcon/Dispatcher/Exception.zep
[ "BSD-3-Clause" ]
#include "process.h" #include "log.h" bool process_check_success(process_t proc, const char *name, bool close) { if (proc == PROCESS_NONE) { LOGE("Could not execute \"%s\"", name); return false; } exit_code_t exit_code = process_wait(proc, close); if (exit_code) { if (exit_code...
C
4
davi1234567891011/scrcpy
app/src/util/process.c
[ "Apache-2.0" ]
// run-pass trait Foo<const N: usize> { fn myfun(&self) -> usize; } trait Bar<const N: usize> : Foo<N> {} trait Baz: Foo<3> {} struct FooType<const N: usize>; struct BarType<const N: usize>; struct BazType; impl<const N: usize> Foo<N> for FooType<N> { fn myfun(&self) -> usize { N } } impl<const N: usize> Foo...
Rust
4
mbc-git/rust
src/test/ui/const-generics/dyn-supertraits.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
{ "Version" : 0.2, "ModuleName" : "libpng", "Options" : { "IncludeDirs" : [ ".", "../zlib-1.2.8" ], "TargetType" : "StaticLibrary", "TargetFileName" : "png" }, "Configurations" : [ { "Name" : "Debug", "Options" : { "Warnings" :...
Ecere Projects
2
N-eil/ecere-sdk
deps/libpng-1.6.12/png.epj
[ "BSD-3-Clause" ]
$(OBJDIR)/uref.cmi:
D
0
heechul/crest-z3
cil/obj/.depend/uref.di
[ "BSD-3-Clause" ]
%script(src="#{context.contextPath}/webjars/jquery/3.1.1/jquery.min.js") %script(src="#{context.contextPath}/webjars/bootstrap/4.3.1/js/bootstrap.min.js")
Scaml
2
pponec/spring-comparing-template-engines
src/main/webapp/WEB-INF/scalate/scripts.scaml
[ "Apache-2.0" ]
import * as React from 'react'; import IconButton from '@mui/material/IconButton'; import Box from '@mui/material/Box'; import { useTheme, ThemeProvider, createTheme } from '@mui/material/styles'; import Brightness4Icon from '@mui/icons-material/Brightness4'; import Brightness7Icon from '@mui/icons-material/Brightness7...
TypeScript
4
dany-freeman/material-ui
docs/data/material/customization/dark-mode/ToggleColorMode.tsx
[ "MIT" ]
const std = @import("std"); const expect = std.testing.expect; const expectEqual = std.testing.expectEqual;
Zig
3
silversquirl/zig
test/behavior/call.zig
[ "MIT" ]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <head> <title>Image download examples</title> </head> <body> <h1>Image down...
Java Server Pages
3
zeesh49/tutorials
spring-mvc-xml/src/main/webapp/WEB-INF/view/image-download.jsp
[ "MIT" ]
create table users(username varchar(255), password varchar(255), enabled boolean); create table authorities(username varchar(255),authority varchar(255));
SQL
4
zeesh49/tutorials
spring-activiti/src/main/resources/schema.sql
[ "MIT" ]