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
[Exposed=Window, HTMLConstructor] interface HTMLPictureElement : HTMLElement {};
WebIDL
2
corsarstl/Learn-Vue-2
vue-testing/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPictureElement.webidl
[ "MIT" ]
<h2>Routing</h2> <div class="metrics"> <div class="metric"> <span class="value">{{ request.route ?: '(none)' }}</span> <span class="label">Matched route</span> </div> </div> {% if request.route %} <h3>Route Parameters</h3> {% if request.routeParams is empty %} <div class="empt...
Twig
3
simonberger/symfony
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Router/panel.html.twig
[ "MIT" ]
vcl 4.0; backend default { .host = "127.0.0.1"; .port = "8081"; } sub vcl_recv { # Headers that prevent Varnish from caching, and are not used. unset req.http.Authorization; unset req.http.Cookie; }
VCL
4
mtsnel006/covid19za
docker/varnish/default.vcl
[ "MIT" ]
#lang scribble/manual @(require (for-label scribble/struct scriblib/bibtex scriblib/autobib racket/base racket/contract)) @title[#:tag "bibtex"]{BibTeX Bibliographies} @defmodule[scriblib/bibtex] @defform[(define-bibtex-cite bib-pth ...
Racket
5
cwebber/scribble
scribble-doc/scriblib/scribblings/bibtex.scrbl
[ "Apache-2.0", "MIT" ]
import {Component, NgModule, ViewEncapsulation} from '@angular/core'; @Component({ encapsulation: ViewEncapsulation.ShadowDom, selector: 'my-component', styles: ['div.cool { color: blue; }', ':host.nice p { color: gold; }'], template: '...' }) export class MyComponent { } @NgModule({declarations: [MyComponent...
TypeScript
4
John-Cassidy/angular
packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_styling/component_styles/encapsulation_shadow_dom.ts
[ "MIT" ]
DAFETF NAIF DAF ENCODED TRANSFER FILE 'DAF/CK ' '2' '6' 'ckernel.file ' BEGIN_ARRAY 1 19451 'TELEMETRY CASSINI S/C ATTITUDE ' '3C16DDA84B^A' '3C17039207^A' '-14050' '1' '3' '1' 1024 'A31975EBF31A38^0' '-27745428B88282^0' 'BD2FBE80E037B8^0' '-27D456E7E41E84^0' '15...
XC
1
ladoramkershner/ale
tests/pytests/data/N1702360370_1/11344_11349ra_sliced-82000.xc
[ "Unlicense" ]
; Check that abs.[ds] is only selected for mips32r6 or mips64r6 when no ; additional options are passed. For revisions prior mips32r6 and mips64r6, ; abs.[ds] does not generate the correct result when working with NaNs, and ; should be explicitly enabled with -enable-no-nans-fp-math or +abs2008 options. ; In 1985 mode...
LLVM
4
medismailben/llvm-project
llvm/test/CodeGen/Mips/fabs.ll
[ "Apache-2.0" ]
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
Org
5
patrick-wilken/sentencepiece
third_party/protobuf-lite/google/protobuf/stubs/once.h.org
[ "Apache-2.0" ]
'reach 0.1'; /* Use `exposeAs` value to give a `publish` an externally visible name */ export const main = Reach.App( {}, [Participant('A', { onStop: Fun([], Null) })], (A) => { A.publish().pay(1).exposeAs("initialPay"); const [ keepGoing ] = parallelReduce([ true ]) .wh...
RenderScript
4
chikeabuah/reach-lang
hs/t/n/foreign_to_reach.rsh
[ "Apache-2.0" ]
static const uint16_t in_barycenter_val[457] = { 0x2ed1, 0x37f6, 0x3b20, 0x2e9b, 0x35bc, 0x3ad5, 0x342e, 0x3858, 0x2f4b, 0x34ea, 0x3b1e, 0x37db, 0x37a6, 0x38db, 0x34b6, 0x3a43, 0x3ad4, 0x3bfa, 0x375a, 0x3474, 0x3a7c, 0x3860, 0x3358, 0x3401, 0x3846, 0x39e0, 0x348d, 0x38fb, 0x354e, 0x2e4e, 0x37b0, 0x30cd,...
Max
1
Trifunik/zephyr
tests/lib/cmsis_dsp/support/src/barycenter_f16.pat
[ "Apache-2.0" ]
(set-info :smt-lib-version 2.6) (set-logic QF_UFLRA) (set-info :source |CPAchecker with k-induction on SV-COMP14 program using MathSAT5, submitted by Philipp Wendler, http://cpachecker.sosy-lab.org|) (set-info :category "industrial") (set-info :status unsat) (declare-fun |main::x@1| () Real) (declare-fun |main::y@1| ...
SMT
3
livinlife6751/infer
sledge/test/smt/QF_UFLRA/cpachecker-induction-svcomp14/cpachecker-induction.gcd_4_true-unreach-call.i.smt2
[ "MIT" ]
; ====================================================================================================================== ; Namespace: LV_Colors ; AHK version: AHK 1.1.09.02 ; Function: Helper object and functions for ListView row and cell coloring ; Language: English ; Tested on: Win XPSP3, Wi...
AutoHotkey
4
standardgalactic/PuloversMacroCreator
LIB/Class_LV_Colors.ahk
[ "Unlicense" ]
#!/usr/bin/env bash GIT_BRANCH="$(git rev-parse --abbrev-ref HEAD)" GIT_SHA="$(git rev-parse --short HEAD)" GIT_TAG_EXACT="$(git describe --tags --exact-match --dirty 2>/dev/null)" GIT_DIRTY=$(test -n "`git status --porcelain`" && echo "-dirty" || echo "") VERSION="${GIT_TAG_EXACT}" test -n "$VERSION" || VERSION="${G...
Shell
4
gh-oss-contributor/graphql-engine-1
scripts/get-version.sh
[ "Apache-2.0", "MIT" ]
%% TABLES (WITH SUPPORT FOR MERGED CELLS OF GENERAL CONTENTS) % % change this info string if making any custom modification \ProvidesFile{sphinxlatextables.sty}[2021/01/27 tables]% % Provides support for this output mark-up from Sphinx latex writer % and table templates: % % - the tabulary and longtable environments f...
TeX
5
samdoran/sphinx
sphinx/texinputs/sphinxlatextables.sty
[ "BSD-2-Clause" ]
module top (input logic clk, input logic selA, selB, QA, QB, output logic Q); always @(posedge clk) begin if (selA) Q <= QA; if (selB) Q <= QB; end check_selA: assert property ( @(posedge clk) selA |=> Q == $past(QA) ); check_selB: assert property ( @(posedge clk) selB |=> Q == $past(QB) ); `ifndef FAIL assum...
SystemVerilog
4
kallisti5/yosys
tests/sva/basic03.sv
[ "ISC" ]
#define SHADER_NAME PHASER_LINEAR_BLEND_FS precision mediump float; uniform sampler2D uMainSampler1; uniform sampler2D uMainSampler2; uniform float uStrength; varying vec2 outTexCoord; void main () { vec4 frame1 = texture2D(uMainSampler1, outTexCoord); vec4 frame2 = texture2D(uMainSampler2, outTexCoord); ...
GLSL
4
dreammyboy/phaser
src/renderer/webgl/shaders/src/LinearBlend.frag
[ "MIT" ]
# make sure the test infra won't use SELECT set old_singledb $::singledb set ::singledb 1 start_server {overrides {cluster-enabled yes} tags {external:skip cluster}} { r 0 cluster addslotsrange 0 16383 wait_for_condition 50 100 { [csi 0 cluster_state] eq "ok" } else { fail "Cluster never be...
Tcl
5
cndoit18/redis
tests/unit/cluster-scripting.tcl
[ "BSD-3-Clause" ]
# Copyright 1999-2020 Gentoo Authors # @ECLASS: missing-license-header.eclass # @MAINTAINER: # Random Dev <random.dev@gentoo.org> # @AUTHOR: # Random Dev <random.dev@gentoo.org> # @BLURB: Stub eclass.
Gentoo Eclass
1
floppym/pkgcheck
testdata/repos/gentoo/eclass/missing-license-header.eclass
[ "BSD-3-Clause" ]
http = require 'http' after (time, block) = set timeout (block, time) (n) seconds = n * 1000 (n) minutes = (n * 60) seconds server = http.create server @(req, res) res.write "stuff\n" after (0.05 minutes) res.write "stuff after 0.05 minutes\n" after (0.5 seconds) ...
PogoScript
4
featurist/pogoscript
examples/server.pogo
[ "BSD-2-Clause" ]
// RUN: %empty-directory(%t) // RUN: %target-swift-frontend -emit-module -disable-availability-checking -enable-library-evolution -emit-module-path=%t/resilient_class.swiftmodule -module-name=resilient_class %S/Inputs/resilient_class.swift // RUN: %target-swift-frontend -I %t -emit-ir -disable-availability-checking -...
Swift
5
xjc90s/swift
test/IRGen/async/class_resilience.swift
[ "Apache-2.0" ]
interface Array<T> { /** * Returns the item located at the specified index. * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. */ at(index: number): T | undefined; } interface ReadonlyArray<T> { /** * Returns the ...
TypeScript
5
monciego/TypeScript
src/lib/es2022.array.d.ts
[ "Apache-2.0" ]
// bug 819721 var r1 = null + null; var r2 = null + undefined; var r3 = undefined + null; var r4 = undefined + undefined;
TypeScript
3
nilamjadhav/TypeScript
tests/cases/conformance/expressions/binaryOperators/additionOperator/additionOperatorWithOnlyNullValueOrUndefinedValue.ts
[ "Apache-2.0" ]
##! Detect Quantum Insert # # qi.bro # # Fox-IT Security Research Team <srt@fox-it.com> # @load base/frameworks/notice module QuantumInsert; export { redef enum Notice::Type += { ## Indicates that a host performed a possible Quantum Insert PayloadDiffers, }; } export { redef record conn...
Bro
4
nvthongswansea/quantuminsert
detection/bro/old/qi.bro
[ "Unlicense" ]
20 5 0 0 0 1 8 7 2 1 6 8 3 5 4 [0] [0] [0] [0] [0] [0] [0] [0] 1 1 4 9 17 15 19 [16] [20] [0] [4] 2 1 1 15 [1] 3 1 3 14 10 15 [-1] [8] [1] 4 1 2 16 11 [5] [8] 5 1 1 20 [8] 6 1 2 21 19 [7] [2] 7 1 3 12 9 19 [3] [0] [8] 8 1 2 16 14 [3] [0] 9 1 6 10 7 14 1 20 11 [-3] [-36] [22] [-39] [9] [-4] 10 1 4 13 18 3 16 ...
Eagle
0
klorel/or-tools
examples/data/rcpsp/single_mode_max_delay/sm_j20/psp17.sch
[ "Apache-2.0" ]
; Remap hotkeys CapsLock::Esc Esc::CapsLock ; Global hotkeys #i::Run, C:\Program Files\GIMP 2\bin\gimp-2.10.exe #k::Run chrome.exe D:\apps\my-personal-kanban\index.html #n::Run, explorer.exe \\wsl$\Ubuntu-20.04\home\nick\src\sites\nickjanetakis #m::Run, foobar2000.exe #p::Run, explorer.exe D:\podcast\running-in-produc...
AutoHotkey
3
tinhnguyentrung/dotfiles
c/Users/Nick/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/hotkeys.ahk
[ "MIT" ]
version https://git-lfs.github.com/spec/v1 oid sha256:fa24106293de85c233f7a79da3578a7306ae9534d4f23a3f1b578e5f748d5204 size 576
Nit
1
JGCRI/lds
indata/WaterFootprint/Report47-App-IV-RasterMaps/Groundnut/info/arc0001.nit
[ "BSD-3-Clause-LBNL" ]
type pos = (int * int); type arg = int; open Tokens; type lexresult = (svalue,pos) token exception Impossible of string; fun fatalError s = raise(Impossible s); fun mkTok f text pos line = (f text, (pos - String.size text, line), (pos, line)); fun mkMtTok text pos line = ((pos - String.size text, line), (pos, li...
Lex
4
dwRchyngqxs/HOL
help/src-sml/Lexer.lex
[ "BSD-3-Clause" ]
alias pc="sudo port clean --all installed" alias pi="sudo port install" alias psu="sudo port selfupdate" alias puni="sudo port uninstall inactive" alias puo="sudo port upgrade outdated" alias pup="psu && puo"
Shell
3
chensanle/ohmyzsh
plugins/macports/macports.plugin.zsh
[ "MIT" ]
50 3 3 0 0 1 5 5 4 3 2 1 [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] 1 5 2 51 17 [10 10 8 4 6] [7 18 10 6 13 15 8 12 5 12 14 8 12 11 0 6 3 4 3 0 4 9 12 2 6] 2 5 3 16 23 51 [2 13 2 7 7 4 4 0 2 2 7 1 2 0 5 2 2 1 1 0 0 4 6 1 3] [8 8 15 17 7 4 2 2 0 0 7 2 6 7 5 0 2 2 1 1 3 1 4 1 3] [10 2 4 1 3] 3 5 2 51...
Eagle
1
klorel/or-tools
examples/data/rcpsp/multi_mode_max_delay/testset_mm50/psp260.sch
[ "Apache-2.0" ]
TDSmalltalkLeafNode { #name : 'x', #contents : 'MetacelloProjectRegistration registry' }
STON
2
tom95/metacello
tode/x.ston
[ "MIT" ]
{:data {:default {:name "Darth Vader", :appears_in [:NEWHOPE :EMPIRE :JEDI], :friends [{:name "Wilhuff Tarkin"}], :home_planet "Tatooine"}, :hope_hero {:id "2001", :name "R2-D2", :friends [{:name "Luke Skywalker"} {:na...
edn
4
hagenek/lacinia
dev-resources/basic.edn
[ "Apache-2.0" ]
/** * Extend INPUT tag to edit a todo's title * - format string * - complete edit on ENTER * - complete edit on BLUR * * Used as * - the main application's input * - single todo item editor * * Public Signals * - cancel: input interrupted * - submit: input formatted and completed */ define TodoInput...
Mask
5
richorrichard/todomvc
examples/atmajs/js/Controls/TodoInput.mask
[ "MIT" ]
\x -> \y -> \z -> if x then y else z
Grace
3
DebugSteven/grace
tasty/data/complex/if-then-else-output.grace
[ "BSD-3-Clause" ]
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {formControlNameExample, formGroupNameExample, ngModelGroupExample, ngModelWithFormGroupExample} from './error...
TypeScript
5
John-Cassidy/angular
packages/forms/src/directives/template_driven_errors.ts
[ "MIT" ]
/* Copyright 2018 The Apollo Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
C++
3
seeclong/apollo
modules/canbus/vehicle/lexus/lexus_message_manager.cc
[ "Apache-2.0" ]
// Copyright 2019 The MediaPipe 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 a...
Objective-C++
4
virdio/mediapipe
mediapipe/objc/CFHolderTests.mm
[ "Apache-2.0" ]
* [Introduction] * [Features] * [WildcardSupport Wildcard Support] * [Base64DataUriSupport] * [LessCssSupport] * [SassCssSupport] * [CssVariablesSupport] * [CoffeeScriptSuport] * [DesignOverview Design Overview] * [WroModel Wro Model] * [WroFileFormat WroModel as XM...
MediaWiki
2
supakiad/wro4j
docs/TableOfContents.wiki
[ "Apache-2.0" ]
class BuildFile %%{ machine build_grammar; variable p @p; variable data @data; variable eof @eof; # I've not figured out the right place to pop the stack, so hack around it action start_arg { # clear the stack while !@lhs[-1].is_a? OutputType leave end ...
Ragel in Ruby Host
4
weilandia/selenium
rake_tasks/crazy_fun/build_grammar.rl
[ "Apache-2.0" ]
/* * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.spec.utils.spec import groovy.util.Node import groovy.util.XmlParser import org.jsoup.Jsoup import org.jsoup.nodes.Element imp...
Kotlin
4
Mu-L/kotlin
compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/spec/HtmlSpecLoader.kt
[ "ECL-2.0", "Apache-2.0" ]
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C
4
EricRemmerswaal/tensorflow
tensorflow/core/tpu/kernels/tpu_op_consts.h
[ "Apache-2.0" ]
import IMPORT_STATIC "ecere" class HelloForm : Window { text = "My First eC Application"; #if 0 borderStyle = sizable; size = { 280, 100 }; hasClose = true; Label label { this, position = { 10, 10 }, font = { "Arial", 30 }, text = "Hello, World!!" }; #else background = activeBorder...
eC
3
mingodad/ecere-sdk
samples/guiAndGfx/HelloForm/helloForm.ec
[ "BSD-3-Clause" ]
{- Copyright (c) 2011 Luis Cabellos, All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
C2hs Haskell
5
jpwidera/opencl
src/Control/Parallel/OpenCL/Context.chs
[ "BSD-3-Clause" ]
{ "markers": [ { "name": "Rixos The Palm Dubai" , "position": [ 25.1212, 55.1535 ] } , { "name": "Shangri-La Hotel", "location": [ 25.2084, 55.2719 ] } , { "name": "Grand Hyatt", "location": [ 25.2285, 55.3273 ] } ] }
Grace
3
DebugSteven/grace
tasty/data/json/markers-output.grace
[ "BSD-3-Clause" ]
export default { snapshot(target) { return { text: target.childNodes[0] }; }, test(assert, target, snapshot) { const text = target.childNodes[0]; assert.equal(text, snapshot.text); } };
JavaScript
4
Theo-Steiner/svelte
test/hydration/samples/top-level-text/_config.js
[ "MIT" ]
# generated from rosbuild/env-hooks/10.rosbuild.sh.em @[if DEVELSPACE]@ # env variables in develspace export ROS_ROOT="@(CMAKE_CURRENT_SOURCE_DIR)" @[else]@ # env variables in installspace if [ -z "$CATKIN_ENV_HOOK_WORKSPACE" ]; then CATKIN_ENV_HOOK_WORKSPACE="@(CMAKE_INSTALL_PREFIX)" fi export ROS_ROOT="$CATKIN_ENV...
EmberScript
3
mcx/ros
core/rosbuild/env-hooks/10.rosbuild.sh.em
[ "BSD-3-Clause" ]
(kicad_pcb (version 4) (host pcbnew 4.0.7-e2-6376~58~ubuntu17.04.1) (general (links 140) (no_connects 56) (area 19.777599 18.745 63.807001 68.045001) (thickness 2) (drawings 158) (tracks 617) (zones 0) (modules 52) (nets 29) ) (page User 101.6 101.6) (layers (0 F.Cu sig...
KiCad
5
xkey10x/u2f-zero
hardware/u2f-zero-panel.kicad_pcb
[ "BSD-2-Clause-FreeBSD" ]
; This script is the inno setup script for glab. ; Must be executed after `make build` which creates an executable in the ./bin directory ; ; `iscc /dVersion="<version_here>" "setup_windows.iss"` #define MyAppName "glab" #define MyAppPublisher "GLab" #define MyAppURL "https://github.com/profclems/glab" #ifndef Versi...
Inno Setup
4
kampka/glab
scripts/setup_windows.iss
[ "MIT" ]
--TEST-- tidy_parse_file() --EXTENSIONS-- tidy --FILE-- <?php $a = tidy_parse_file(__DIR__."/005私はガラスを食べられます.html"); echo tidy_get_output($a); ?> --EXPECT-- <html> <head> <title></title> </head> <body> </body> </html>
PHP
2
NathanFreeman/php-src
ext/tidy/tests/005-mb.phpt
[ "PHP-3.01" ]
" Vim syntax file " Language: hog (Snort.conf + .rules) " Maintainer: Victor Roemer, <vroemer@badsec.org>. " Last Change: 2019 Sep 22 " 2012 Oct 24 -> Originalish release " 2019 Sep 22 -> included PR 3069 " quit when a syntax file was already loaded if exists("b:current_syntax") finish ...
VimL
4
uga-rosa/neovim
runtime/syntax/hog.vim
[ "Vim" ]
;;; -*- Mode: Lisp; Syntax: Common-Lisp; -*- ;;; Code from Paradigms of Artificial Intelligence Programming ;;; Copyright (c) 1991 Peter Norvig ;;;; File compile1.lisp: Simplest version of Scheme compiler (requires "interp1") ; Uses the Scheme macro facility (defun comp (x env) "Compile the expression x into a lis...
Common Lisp
5
sethaldini/paip-lisp
lisp/compile1.lisp
[ "MIT" ]
"""Support for the Skybell HD Doorbell.""" from __future__ import annotations import asyncio import os from aioskybell import Skybell from aioskybell.exceptions import SkybellAuthenticationException, SkybellException import voluptuous as vol from homeassistant.config_entries import SOURCE_IMPORT, ConfigEntry from ho...
Python
5
mib1185/core
homeassistant/components/skybell/__init__.py
[ "Apache-2.0" ]
frequency,raw 20.00,9.54 20.20,9.56 20.40,9.58 20.61,9.61 20.81,9.63 21.02,9.65 21.23,9.68 21.44,9.70 21.66,9.72 21.87,9.75 22.09,9.77 22.31,9.79 22.54,9.81 22.76,9.84 22.99,9.86 23.22,9.88 23.45,9.90 23.69,9.92 23.92,9.94 24.16,9.96 24.40,9.99 24.65,10.01 24.89,10.03 25.14,10.05 25.39,10.08 25.65,10.10 25.91,10.12 26....
CSV
0
vinzmc/AutoEq
measurements/referenceaudioanalyzer/data/inear/SIEC/Creative EP-630/Creative EP-630.csv
[ "MIT" ]
<#macro greet> <h2>Nice to see you!!!</h2> </#macro>
FreeMarker
3
refdiff-data/gocd
server/templates/macros.ftl
[ "Apache-2.0" ]
# Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. test: ./node_modules/.bin/jest --config .jest-tool.config.js
Makefile
2
Hans-Halverson/flow
packages/flow-dev-tools/Makefile
[ "MIT" ]
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>index.html</title> <link rel="stylesheet" href=""> </head> <body> <h1>Index.html</h1> <button id="open-win" onclick="openWindow()">Open window</button> <button id="close-win" onclick="closeWin...
Smarty
3
namaljayathunga/nw.js
test/remoting/wopen-obj-external/index.tpl
[ "MIT" ]
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/SignatureChecker.sol) pragma solidity ^0.8.0; import "./ECDSA.sol"; import "../Address.sol"; import "../../interfaces/IERC1271.sol"; /** * @dev Signature verification helper that can be used instead of `ECDSA.recover...
Solidity
5
wiasliaw/openzeppelin-contracts
contracts/utils/cryptography/SignatureChecker.sol
[ "MIT" ]
# ============================================================= # This script is written to generate structured multi-block # grid with almost any types of waviness at TE for almost any # airfoil according to the grid guideline. #============================================================== # written by Pay Dehpanah ...
Glyph
5
pdpdhp/wavymesher
cae_exporter.glf
[ "BSD-3-Clause" ]
#Rem Code by Arthur "devolonter" Bikmullin Graphics by Olga "AhNinniah" Bikmullina #End Import src.game #ANDROID_SCREEN_ORIENTATION = "landscape" Function Main() New Game() End Function
Monkey
2
blitz-research/monkey
bananas/devolonter/matchup/matchup.monkey
[ "Zlib" ]
#!/usr/bin/env bash # Copyright 2018 The Kubernetes 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 applica...
Shell
5
767829413/kubernetes
test/cmd/storage.sh
[ "Apache-2.0" ]
BXJ
PureBasic
2
pchandrasekaran1595/onnx
onnx/backend/test/data/simple/test_sequence_model8/test_data_set_0/input_0.pb
[ "Apache-2.0" ]
= Known Issues :Author: LMAX Development Team :Email: :Date: {docdata} // If you're changing these, also check out asciidoctor.gradle! :xrefstyle: short :icons: font - On 32 bit Linux systems it appears that `LockSupport.parkNanos()` is quite expensive, therefore using the `SleepingWaitStrategy` is not recommended.
AsciiDoc
2
abcijkxyz/disruptor
src/docs/asciidoc/en/user-guide/30_known_issues.adoc
[ "Apache-2.0" ]
' writefile.bmx file=writefile("test.txt") if not file runtimeerror "failed to open test.txt file" writeline file,"hello world" closestream file
BlitzMax
3
jabdoa2/blitzmax
mod/brl.mod/filesystem.mod/doc/writefile.bmx
[ "Zlib" ]
using Uno.Collections; using Fuse.Reactive; namespace Fuse.Charting { /** Filters items in an Observable. */ abstract class FilterObservable : ObservableData, IObserver { IObservableArray _source; public IObservableArray Source { get { return _source; } set { CleanSubscription(); _source ...
Uno
4
helilabs/fuselibs
Source/Fuse.Charting/FilterObservable.uno
[ "MIT" ]
// Copyright 2010-2016 RethinkDB, all rights reserved. #include "clustering/administration/main/memory_checker.hpp" #include <math.h> #ifndef _WIN32 #include <sys/resource.h> #endif #include "clustering/administration/metadata.hpp" #include "clustering/table_manager/table_meta_client.hpp" #include "logger.hpp" #inclu...
C++
4
zadcha/rethinkdb
src/clustering/administration/main/memory_checker.cc
[ "Apache-2.0" ]
--TEST-- Named params in attributes --FILE-- <?php #[Attribute] class MyAttribute { public function __construct( public $a = 'a', public $b = 'b', public $c = 'c', ) {} } #[MyAttribute('A', c: 'C')] class Test1 {} #[MyAttribute('A', a: 'C')] class Test2 {} $attr = (new ReflectionClas...
PHP
4
NathanFreeman/php-src
Zend/tests/named_params/attributes.phpt
[ "PHP-3.01" ]
include.alias A 127.0.0.5
DNS Zone
0
faern/trust-dns
tests/test-data/named_test_configs/include.example.com.zone
[ "Apache-2.0", "MIT-0", "MIT" ]
= Imp : Simple Imperative Programs > module Imp > import Logic In this chapter, we begin a new direction that will continue for the rest of the course. Up to now most of our attention has been focused on various aspects of Idris itself, while from now on we'll mostly be using Idris to formalize other things. (We'll ...
Idris
5
diseraluca/software-foundations
src/Imp.lidr
[ "MIT" ]
--TEST-- JIT ASSIGN: DASM_S_RANGE_VREG error --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_update_protection=0 opcache.jit_buffer_size=1M opcache.protect_memory=1 --FILE-- <?php function test($x) { if ($x) { unknown($value); } var_dump($value = INF); } test(false); ?> --EXPECT-- float(I...
PHP
2
NathanFreeman/php-src
ext/opcache/tests/jit/assign_044.phpt
[ "PHP-3.01" ]
/******************************************************************************** * 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
5
Kopilov/ceylon-ide-intellij
source/org/eclipse/ceylon/ide/intellij/highlighting/ceylonHtmlHighlighter.ceylon
[ "Apache-2.0" ]
#GLFW_WINDOW_WIDTH=0 #GLFW_WINDOW_HEIGHT=0 Import mojo Class MyApp Extends App Field scroll_x:Float Field scroll_mod:Float Method OnCreate() SetDeviceWindow DesktopMode().Width,DesktopMode().Height,1 SetSwapInterval 1 SetUpdateRate 0 scroll_mod=DeviceWidth*3 End Method OnUpdate() If KeyHit( KEY_ES...
Monkey
4
blitz-research/monkey
bananas/mak/smoothscroll/smoothscroll.monkey
[ "Zlib" ]
spring.output.ansi.enabled=never
INI
0
Martin-real/spring-boot-2.1.0.RELEASE
spring-boot-project/spring-boot/src/test/resources/ansi.properties
[ "Apache-2.0" ]
[[webflux-view]] = View Technologies [.small]#<<web.adoc#mvc-view, Web MVC>># The use of view technologies in Spring WebFlux is pluggable. Whether you decide to use Thymeleaf, FreeMarker, or some other view technology is primarily a matter of a configuration change. This chapter covers the view technologies integrated...
AsciiDoc
5
spreoW/spring-framework
src/docs/asciidoc/web/webflux-view.adoc
[ "Apache-2.0" ]
DROP TABLE "public"."table45";
SQL
2
eazyfin/graphql-engine
cli/commands/testdata/migrate-squash-test/migrations/1588172670532_create_table_public_table45/down.sql
[ "Apache-2.0", "MIT" ]
vcl 4.0; import std; import directors; backend default { .host = "<VARNISH_BACKEND_HOST>"; .port = "<VARNISH_BACKEND_PORT>"; }
VCL
2
oobeya-space/Dockerfile
provisioning/varnish/general/etc/varnish/varnish.vcl
[ "MIT" ]
#NoTrayIcon #Region #AutoIt3Wrapper_Compile_Both=y #AutoIt3Wrapper_UseX64=y #AutoIt3Wrapper_Change2CUI=y #EndRegion #cs -------------------------------------------------------------------------------- AutoIt Version: 3.3.14.5 Author: VIVI (https://github.com/V1V1) | (https://twitter.com/_theVIVI) Script F...
AutoIt
5
ohio813/OffensiveAutoIt
Persistence/NetUserAdd.au3
[ "BSD-2-Clause" ]
@font-face { font-family: cash-market; src: url("https://cash-f.squarecdn.com/static/fonts/cash-market/v2/CashMarket-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal } @font-face { font-family: cash-market; src: url("https://cash-f.squarecdn.com/static/fonts/cash-market/v2/...
CSS
4
nowkarol/okhttp
docs/css/app.css
[ "Apache-2.0" ]
for n in [2, 20, 200, 2000] x = randn(Float32, n, n) model = Dense(n, n) println("CPU n=$n") run_benchmark(model, x, cuda=false) println("CUDA n=$n") run_benchmark(model, x, cuda=true) end
Julia
3
B-LIE/Flux.jl
perf/dense.jl
[ "MIT" ]
=====MUL10======= [>+<-]> ; move num one right ie num2=num >>++++++++++ ; load 10 into fourth element [ <<[<+>>+<-] ; add num2 to first and third element >[<+>-]> ; num2=third element - ; loop ten times ] <<[-]< ; clear num2 #
Brainfuck
3
RubenNL/brainheck
examples/math/mul-10.bf
[ "Apache-2.0" ]
string-to-ast = require \./parse ast-to-estree = require \./translate estree-to-js = require \escodegen .generate root-macro-table = require \./built-in-macros environment = require \./env to-estree = (root-env, input, options) -> input.to-string! |> string-to-ast |> ast-to-estree root-env, _, transform-macros...
LiveScript
5
0xflotus/eslisp
src/index.ls
[ "ISC" ]
{% set result = 'U2FsdCBSb2NrcyE=' | base64_decode() %} {% include 'jinja_filters/common.sls' %}
SaltStack
2
byteskeptical/salt
tests/integration/files/file/base/jinja_filters/hashutils_base4_64decode.sls
[ "Apache-2.0" ]
open tactic set_option pp.all true example (a b c : nat) : true := by do x ← to_expr ```(_ + b) tt, trace x, infer_type x >>= trace, constructor, -- fill hole with 'c' get_local `c >>= exact, trace "------ after instantiate_mvars", instantiate_mvars x >>= trace
Lean
4
ericrbg/lean
tests/lean/qexpr2.lean
[ "Apache-2.0" ]
#!/usr/bin/env io a := List clone append(1, 2, 3) b := method( a foreach(i, v, if(v == 2, return v)) write("shouldn't get here\n") ) write("b := ", b, "\n") // => 2
Io
4
akluth/io
samples/misc/Foreach.io
[ "BSD-3-Clause" ]
@use '../theme'; .test { @include theme.property(color, primary); }
SCSS
3
simonziegler/material-components-web
packages/mdc-theme/test/theme.test.scss
[ "MIT" ]
/* * Copyright (c) 2011 University of Bremen, TZI * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, this l...
nesC
4
mtaghiza/tinyos-main-1
apps/CoapPpp/CoapPppP.nc
[ "BSD-3-Clause" ]
/* * Copyright 2016 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/LICENSE-2.0 * * Unless required by applicab...
C
5
funrunskypalace/vnpy
vnpy/api/oes/include_for_generator/oes/oes_client_sample.h
[ "MIT" ]
{-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE DataKinds #-} {-# LANGUAGE DeriveAnyClass #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeApplications #-} module AST.GenerateSyntax ( syntaxDatatype , astDeclarationsForLanguage...
Haskell
5
tabulon-ext/semantic
semantic-ast/src/AST/GenerateSyntax.hs
[ "MIT" ]
class Ring { class Node { def initialize: @next ring: @ring def count: count { match @next { case nil -> "DONE: " ++ count println @ring finish! case _ -> "." print @next @@ count: (count + 1) } die! # let this actor die to free resour...
Fancy
4
bakkdoor/fancy
examples/actors_ring.fy
[ "BSD-3-Clause" ]
%h3 503 Service Unavailable %hr %p Please try later.
Scaml
0
mohno007/skinny-framework
example/src/main/webapp/WEB-INF/views/error/503.html.scaml
[ "MIT" ]
package gw.lang.reflect.gwtest.typeinfo enhancement InterfaceEnhancement : gw.lang.reflect.BaseI { private property get EnhPrivateProp() : String {return null;} protected property get EnhProtectedProp() : String {return null;} internal property get EnhInternalProp() : String {return null;} public property get ...
Gosu
3
tcmoore32/sheer-madness
gosu-test/src/test/gosu/gw/lang/reflect/gwtest/typeinfo/InterfaceEnhancement.gsx
[ "Apache-2.0" ]
TDScriptLeafNode{#name:'postUpgrade',#contents:'[ :topez :objIn :tokens :command :commandNode | | opts args | \"for help: ./postUpgrade -h\" command getOptsMixedLongShort: {#(\'help\' $h #\'none\'). #(\'sourceVersion\' nil #\'required\')} optionsAndArguments: [ :options :operands | opt...
STON
3
ahdach/GsDevKit_home
sys/default/server/upgrade/postUpgrade.ston
[ "MIT" ]
actor Main new create(env: Env) => apply(env) fun apply(env: Env) => test[I64](env, (0, true)) test[U64](env, (0, true)) fun test[A: Stringable #read](env: Env, expected: (A, Bool)) => busywork[A](env, expected._1) fun busywork[A: Stringable #read](env: Env, expected: A) => "." + "." + "....
Pony
3
rtpax/ponyc
test/libponyc-run/regression-2976/main.pony
[ "BSD-2-Clause" ]
// revisions: rust2015 rust2018 //[rust2018] edition:2018 trait WithType<T> {} trait WithRegion<'a> { } trait Foo { } impl<T> Foo for Vec<T> where T: WithType<&u32> //[rust2015,rust2018]~^ ERROR `&` without an explicit lifetime name cannot be used here { } fn main() {}
Rust
3
Eric-Arellano/rust
src/test/ui/underscore-lifetime/where-clause-trait-impl-region.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
module: memory-manager Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc. All rights reserved. License: See License.txt in this distribution for details. Warranty: Distributed WITHOUT WARRANTY OF ANY KIND define method room () block() values(raw-as-integer(pri...
Dylan
3
kryptine/opendylan
sources/lib/memory-manager/native-memory-manager.dylan
[ "BSD-2-Clause" ]
source ./test-functions.sh install_service echo 'RUN_ARGS=--server.port=8081' > /test-service/spring-boot-app.conf start_service await_app http://127.0.0.1:8081/ curl -s http://127.0.0.1:8081/
Shell
1
Martin-real/spring-boot-2.1.0.RELEASE
spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-single-run-arg.sh
[ "Apache-2.0" ]
{ "name": "passport-example", "version": "0.0.1", "description": "Example with Passport (http://www.passportjs.org/)", "dependencies": { "body-parser": "~1.19.0", "express": "~4.17.1", "express-session": "~1.17.1", "passport": "~0.4.1", "passport-local": "~1.0.0", "socket.io": "^4.0.0" ...
JSON
2
chanhong/socket.io
examples/passport-example/package.json
[ "MIT" ]
//~ ERROR // build-fail // ignore-32bit struct S<T> { x: [T; !0], } pub fn f() -> usize { std::mem::size_of::<S<u8>>() } fn main() { let x = f(); }
Rust
3
mbc-git/rust
src/test/ui/limits/issue-75158-64.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
make NatDesc := con ['sumD ['zero 'suc] [ (con ['constD (Sig ())]) (con ['prodD 'n (con ['idD]) (con ['constD (Sig ())]) ])]] : Desc ; make Nat := (Mu NatDesc) : Set ; make plus : Nat -> Nat -> Nat ; lambda m, n ; elim induction NatDesc m ;
PigLatin
3
mietek/epigram
test/BugNatDesc.pig
[ "MIT" ]
fn foo() -> isize { 23 } static a: [isize; 2] = [foo(); 2]; //~^ ERROR: E0015 fn main() {}
Rust
2
Eric-Arellano/rust
src/test/ui/static/static-vec-repeat-not-constant.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
POST /foo/bar?id=4&x=[...
HTTP
3
ka7/bat
tests/syntax-tests/highlighted/http-request-response/example.http
[ "Apache-2.0", "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 ma...
Thrift
4
Jimexist/thrift
lib/go/test/ConflictArgNamesTest.thrift
[ "Apache-2.0" ]