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 |
|---|---|---|---|---|---|
<div class="cover">
<h1 class="zone xl margin-bottom-large">
<a data-ls-attrs="href=/console" class="back text-size-small link-return-animation--start"><i class="icon-left-open"></i> Home</a>
<br />
<span>Your Account</span>
</h1>
</div>
<div class="zone xl">
<ul class="phases clea... | HTML+PHP | 4 | nakshatrasinghh/appwrite | app/views/console/account/index.phtml | [
"BSD-3-Clause"
] |
find_undefs :-
% check_args(undefs, boolean, true, true),
format('UNDEFINED procedure calls:~n===~n',[]),
pmodule(M),
findall(P, undef_in_m(M,P), Ps),
Ps = [_|_],
format(' * ~w~n', [M]),
member(P, Ps),
format(' + ~w:~n',[P]),
fail.
find_undefs.
pmodule(M) :-
findall(M, ... | Prolog | 4 | ryandesign/yap | utils/analysis/undefs.yap | [
"Artistic-1.0-Perl",
"ClArtistic"
] |
-include ../tools.mk
all:
# Work in /tmp, because we need to create the `save-analysis-temp` folder.
cp a.rs $(TMPDIR)/
cd $(TMPDIR) && $(RUSTC) -Zsave-analysis $(TMPDIR)/a.rs 2> $(TMPDIR)/stderr.txt || ( cat $(TMPDIR)/stderr.txt && exit 1 )
[ ! -s $(TMPDIR)/stderr.txt ] || ( cat $(TMPDIR)/stderr.txt && exit 1 )
... | Makefile | 3 | Eric-Arellano/rust | src/test/run-make-fulldeps/issues-41478-43796/Makefile | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
definition module stack
:: Stack a
newStack :: (Stack a)
push :: a (Stack a) -> Stack a
pushes :: [a] (Stack a) -> Stack a
pop :: (Stack a) -> Stack a
popn :: Int (Stack a) -> Stack a
top :: (Stack a) -> a
topn :: Int (Stack a) -> [a]
elements :: (Stack a) -> [a]
count :: (Stack a) -> Int
| Clean | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Clean/stack.dcl | [
"MIT"
] |
if ! (( $+commands[curl] )); then
echo "rand-quote plugin needs curl to work" >&2
return
fi
function quote {
emulate -L zsh
Q=$(curl -s --connect-timeout 2 "http://www.quotationspage.com/random.php" | iconv -c -f ISO-8859-1 -t UTF-8 | grep -m 1 "dt ")
TXT=$(echo "$Q" | sed -e 's/<\/dt>.*//g' -e 's... | Shell | 4 | chensanle/ohmyzsh | plugins/rand-quote/rand-quote.plugin.zsh | [
"MIT"
] |
{:ok, connection} = AMQP.Connection.open
{:ok, channel} = AMQP.Channel.open(connection)
AMQP.Queue.declare(channel, "hello")
AMQP.Basic.publish(channel, "", "hello", "Hello World!")
IO.puts " [x] Sent 'Hello World!'"
AMQP.Connection.close(connection)
| Elixir | 3 | Diffblue-benchmarks/Rabbitmq-rabbitmq-tutorials | elixir/send.exs | [
"Apache-2.0"
] |
# Qt gui animation module
SOURCES += animation/qguivariantanimation.cpp
| QMake | 0 | dyzmapl/BumpTop | trunk/win/Source/Includes/QtIncludes/src/gui/animation/animation.pri | [
"Apache-2.0"
] |
BTJ | PureBasic | 0 | pchandrasekaran1595/onnx | onnx/backend/test/data/node/test_nesterov_momentum/test_data_set_0/input_1.pb | [
"Apache-2.0"
] |
{define elements}
<div class="row" n:foreach="$elements as $element">
<div class="col-md-4"><a href="{$element|elementUrl}" n:class="$element->deprecated ? deprecated, !$element->valid ? invalid">{if $namespace}{$element->shortName}{else}{$element->name}{/if}</a></div>
<div class="col-md-8">{$element|shortDescription... | Latte | 3 | gitetsu/aws-sdk-php | build/docs/theme/@elementlist.latte | [
"Apache-2.0"
] |
: immediate lastxt @ dup c@ negate swap c! ;
: \ source nip >in ! ; immediate \ Copyright 2004, 2012 Lars Brinkhoff
: char \ ( "word" -- char )
bl-word here 1+ c@ ;
: ahead here 0 , ;
: resolve here swap ! ;
: ' bl-word here find 0branch [ ahead ] exit [ resolve ] 0 ;
: postpone-nonimmediate [ ' li... | Forth | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Forth/core.fth | [
"MIT"
] |
* Level Restorer
.subckt levr in out Vdd Gnd
X0 in out Vdd Gnd inv nsize=2 psize=1
X11 in out Vdd Vdd pfetz wsize=1 lsize=2
.ends | SourcePawn | 2 | HackerFoo/vtr-verilog-to-routing | vtr_flow/scripts/spice/subckt/level_restorer.sp | [
"MIT"
] |
FROM node:12-buster
RUN apt-get update
RUN apt-get install -y jq
RUN apt-get install -y uuid-runtime
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
| Dockerfile | 3 | symbldk/shields | .github/actions/draft-release/Dockerfile | [
"CC0-1.0"
] |
#include <oxstd.h>
#include <oxdraw.h>
#include <oxprob.h>
#include <maximize.h>
#import <modelbase>
#import <simula>
#include <oxfloat.h>
static decl iB; //Repeats
static decl iSIZE; //Size of time series
static decl iSTEPS; //#Steps to divide the size
static decl iSIMS; //# of Zt ~ N(0,1)
static de... | Ox | 3 | tamerdilaver/Simulation | simulate_ast.ox | [
"MIT"
] |
/* Object part of the VSource and VTarget class
*/
/*
Copyright (C) 1991-2001 The National Gallery
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2 of the Li... | C++ | 4 | PrimenST/primenmd | node_modules/sharp/src/libvips/cplusplus/VConnection.cpp | [
"MIT"
] |
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "/annotations/anno2.jsonld",
"type": "Annotation",
"created": "2015-02-31T12:03:45Z",
"body": {
"type": "TextualBody",
"value": "Great resource!"
},
"target": "http://www.w3c.org/"
}
| JSONLD | 2 | ziransun/wpt | annotation-protocol/files/annotations/anno2.jsonld | [
"BSD-3-Clause"
] |
/* Workaround for missing vld1_*_x2 and vst1_*_x2 intrinsics in gcc-7. */
__extension__ extern __inline uint8x8x2_t
__attribute__ ((__always_inline__, __gnu_inline__, __artificial__))
vld1_u8_x2 (const uint8_t *__a)
{
uint8x8x2_t ret;
asm volatile("ld1 {%S0.8b - %T0.8b}, %1" : "=w" (ret) : "Q"(*__a));
return re... | C | 4 | Hacky-DH/pytorch | aten/src/ATen/cpu/vec/vec256/missing_vld1_neon.h | [
"Intel"
] |
exports_file=Fil med exporterade filsystem,0
restart_command=Kommando för att starta om exportserver,0
| SystemVerilog | 0 | GalaxyGFX/webmin | hpuxexports/config.info.sv | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Testi... | C# | 5 | tomaswesterlund/aspnetcore | src/Servers/IIS/IIS/test/Common.FunctionalTests/CompressionTests.cs | [
"MIT"
] |
60 140 4 * / dmetro
dup 3 0 tdiv 0.01 0.01 0.2 tenv
62 mtof 0.5 1 1 1 fm *
swap dup 4 1 tdiv 0.01 0.01 0.2 tenv
64 mtof 0.5 1 1 1 fm *
swap dup 5 2 tdiv 0.01 0.01 0.2 tenv
71 mtof 0.5 1 1 1 fm *
swap 7 3 tdiv 0.001 0.01 0.6 tenv
66 mtof 0.5 1 1 1 fm *
mix -6 ampdb *
| SourcePawn | 2 | aleatoricforest/Sporth | examples/tdiv.sp | [
"MIT"
] |
1 noise 10 metro samphold
100 500 scale 0.1 sine
| SourcePawn | 1 | aleatoricforest/Sporth | examples/samphold.sp | [
"MIT"
] |
#!/usr/bin/env bash
# See http://yann.lecun.com/exdb/mnist/
MNIST_TARGET_DIRECTORY="`pwd`/build/3rd-party/MNIST"
echo "Downloading MNIST databases into $MNIST_TARGET_DIRECTORY ..."
mkdir -p $MNIST_TARGET_DIRECTORY
cd $MNIST_TARGET_DIRECTORY
wget -nv -N http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz
wg... | Shell | 4 | benasher44/kotlin-native | samples/torch/downloadMNIST.sh | [
"ECL-2.0",
"Apache-2.0"
] |
///////////////////////////////////////////////////////////////////////
// File: intsimdmatrixneon.cpp
// Description: matrix-vector product for 8-bit data on neon.
// Author: Robin Watts (from the AVX2 original by Ray Smith)
//
// (C) Copyright 2017, Google Inc.
// (C) Copyright 2020, Artifex Software Inc.... | C++ | 5 | quangzinhh/tesseract | src/arch/intsimdmatrixneon.cpp | [
"Apache-2.0"
] |
// Code generated by avx512test. DO NOT EDIT.
#include "../../../../../../runtime/textflag.h"
TEXT asmtest_avx512pf(SB), NOSPLIT, $0
VGATHERPF0DPD K5, (R10)(Y29*8) // 6292fd45c60cea
VGATHERPF0DPD K5, (SP)(Y4*2) // 62f2fd4dc60c64
VGATHERPF0DPD K5, (DX)(Y10*4) ... | GAS | 1 | Havoc-OS/androidprebuilts_go_linux-x86 | src/cmd/asm/internal/asm/testdata/avx512enc/avx512pf.s | [
"BSD-3-Clause"
] |
1
0 1 0
| NetLinx | 0 | mdp19pn/Chaste | mesh/test/data/3D_Single_tetrahedron_element.axi | [
"Apache-2.0",
"BSD-3-Clause"
] |
- page_title _("Gitea Import")
%h3.page-title
= custom_icon('gitea_logo')
= _('Import Projects from Gitea')
= render 'import/githubish_status', provider: 'gitea'
| Haml | 2 | Testiduk/gitlabhq | app/views/import/gitea/status.html.haml | [
"MIT"
] |
# =============================================================
# This script is written to generate structured multi-block
# grid for a nozzle profile with respect to grid guideline.
#==============================================================
# written by Pay Dehpanah
# last update: Sep 2021
#=====================... | Glyph | 5 | pdpdhp/nozzlemesher | NZZmesher.glf | [
"BSD-3-Clause"
] |
%%
%unicode 11.0
%public
%class UnicodeScripts_11_0_extensions_5
%type int
%standalone
%include ../../resources/common-unicode-all-enumerated-property-defined-values-only-java
%%
<<EOF>> { printOutput(); return 1; }
\p{Script_Extensions:Gujarati} { setCurCharPropertyValue("Script_Extensions:Gujarati"); }
\p{Script... | JFlex | 3 | Mivik/jflex | testsuite/testcases/src/test/cases/unicode-scripts/UnicodeScripts_11_0_extensions_5.flex | [
"BSD-3-Clause"
] |
import 'std/string' as str
import "std/test"
test.run("String module contains", fn(assert) {
const testStr = "one,two,three"
assert.isTrue(str.contains(testStr, "two"))
assert.isFalse(str.contains(testStr, "Two"))
})
test.run("String module count", fn(assert) {
const testStr = "one,two,three"
asse... | Inform 7 | 4 | lfkeitel/nitrogen | tests/stdlib/string.ni | [
"BSD-3-Clause"
] |
[Desktop Entry]
Version=1.0
Type=Application
Name=Dust3D
Comment=A quick 3D modeling tool
Categories=Graphics;
Icon=dust3d
Exec=dust3d
Terminal=false
| desktop | 2 | MelvinG24/dust3d | ci/dust3d.desktop | [
"MIT"
] |
// Check that we can manually implement an object-unsafe trait for its trait object.
// run-pass
#![feature(object_safe_for_dispatch)]
trait Bad {
fn stat() -> char {
'A'
}
fn virt(&self) -> char {
'B'
}
fn indirect(&self) -> char {
Self::stat()
}
}
trait Good {
f... | Rust | 4 | Eric-Arellano/rust | src/test/ui/rfc-2027-object-safe-for-dispatch/manual-self-impl-for-unsafe-obj.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
@import './_variables.scss'
.v-color-picker__canvas
$root: &
position: relative
overflow: hidden
contain: strict
&-dot
position: absolute
top: 0
left: 0
width: $color-picker-canvas-dot-size
height: $color-picker-canvas-dot-size
background: transparent
border-radius: 50%
box-s... | Sass | 4 | ahmadiqbal1/vuetify | packages/vuetify/src/components/VColorPicker/VColorPickerCanvas.sass | [
"MIT"
] |
GET /test HTTP/1.1\r\n
Long-header: 01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123... | HTTP | 2 | ThePrez/gunicorn | tests/requests/invalid/017.http | [
"MIT"
] |
-- vararg bubbling
f = (...) -> #{...}
dont_bubble = ->
[x for x in ((...)-> print ...)("hello")]
k = [x for x in ((...)-> print ...)("hello")]
j = for i=1,10
(...) -> print ...
-- bubble me
m = (...) ->
[x for x in *{...} when f(...) > 4]
x = for i in *{...} do i
y = [x for x in *{...}]
z = [x for x in ha... | MoonScript | 2 | Shados/moonscript | spec/inputs/bubbling.moon | [
"MIT",
"Unlicense"
] |
{% extends '@SyliusCore/Email/passwordReset.html.twig' %}
| Twig | 2 | orestshes/Sylius | src/Sylius/Bundle/ShopBundle/Resources/views/Email/passwordReset.html.twig | [
"MIT"
] |
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64--linux"
@main.v1 = local_unnamed_addr global i1 true
define void @runtime.initAll() unnamed_addr {
entry:
ret void
}
| LLVM | 2 | ybkimm/tinygo | interp/testdata/interface.out.ll | [
"Apache-2.0"
] |
Begin function declaration.
sayHello = ->
Print a greeting.
console.log 'hi'
| Literate CoffeeScript | 3 | looker/grunt-contrib-coffee | test/fixtures/litcoffee.litcoffee | [
"MIT"
] |
global _start
%include "header.inc"
fldz
fldz
fdivr
%include "footer.inc"
| Assembly | 1 | brenden7158/v86 | tests/nasm/fdivr.asm | [
"BSD-2-Clause"
] |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... | JavaScript | 4 | dany-freeman/material-ui | packages/mui-icons-material/lib/EventRepeat.js | [
"MIT"
] |
-- {-# OPTIONS --allow-unsolved-metas #-}
module Issue2369.OpenIP where
test : Set
test = {!!} -- unsolved interaction point
-- postulate A : {!!}
| Agda | 3 | shlevy/agda | test/Fail/Issue2369/OpenIP.agda | [
"BSD-3-Clause"
] |
/// <reference path='fourslash.ts' />
/////*1*/interface Gourai { new () {} }
/////*2*/type Stylet = { new () {} }
format.document();
goTo.marker("1");
verify.currentLineContentIs("interface Gourai { new() { } }");
goTo.marker("2");
verify.currentLineContentIs("type Stylet = { new() { } }"); | TypeScript | 3 | nilamjadhav/TypeScript | tests/cases/fourslash/formattingOnConstructorSignature.ts | [
"Apache-2.0"
] |
- explore: the_switchboard
view_label: 'Company'
joins:
- join: account
sql_on: ${the_switchboard.account_id} = ${account.id}
relationship: many_to_one
- join: account_owner
from: user
sql_on: ${account.owner_id} = ${account_owner.id}
relationship: many_to_one
- join: con... | LookML | 3 | rsharma03/blocks_salesforce | submodules/the_switchboard/salesforce.model.lookml | [
"MIT"
] |
export { value, ns } from "./package";
| JavaScript | 1 | 1shenxi/webpack | test/cases/scope-hoisting/side-effects-9159/reexport.js | [
"MIT"
] |
import torch
def is_available():
r"""Returns whether PyTorch is built with OpenMP support."""
return torch._C.has_openmp
| Python | 3 | Hacky-DH/pytorch | torch/backends/openmp/__init__.py | [
"Intel"
] |
NAME
VTK::Interaction
LIBRARY_NAME
vtkInteraction
DESCRIPTION
Components for accepting user interaction
| Kit | 0 | txwhhny/vtk | Interaction/Style/vtk.kit | [
"BSD-3-Clause"
] |
DROP TABLE "public"."table48";
| SQL | 0 | devrsi0n/graphql-engine | cli/commands/testdata/migrate-squash-test/migrations/1588172670697_create_table_public_table48/down.sql | [
"Apache-2.0",
"MIT"
] |
create table employee(id int identity primary key, name varchar(30)); | SQL | 4 | zeesh49/tutorials | guest/spring-boot-app/src/main/resources/mySchema.sql | [
"MIT"
] |
.class{border:1px solid $color;
}
| CSS | 1 | fuelingtheweb/prettier | tests/stylefmt/shorthand-with-sass-variables/shorthand-with-sass-variables.css | [
"MIT"
] |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Sharpility.Extensions;
using NodaTime;
{{#imports}}using {{import}};
{{/imports}}
namespace {{packageName}}.{{packageContext}}.Models
{
{{#models}}
{{#model}}
{{#isEnum}}{{>modelEnum}}{{/isEnum}}{{^isEnum}}{{>modelGeneric}}{{/isE... | HTML+Django | 3 | MalcolmScoffable/openapi-generator | modules/openapi-generator/src/main/resources/csharp-nancyfx/model.mustache | [
"Apache-2.0"
] |
<x><![CDATA[
declare namespace m0="http://services.samples";
declare variable $code as xs:string external;
declare variable $price as xs:double external;
<m:CheckPriceResponse xmlns:m="http://services.samples" xmlns:m1="http://services.samples/xsd">
<m1:Code>{$code}</m1:Code>
<m1:Price>{$price}</m1:... | XQuery | 3 | isuruuy429/product-ei | samples/product/src/main/conf/synapse/resources/xquery/xquery_res.xq | [
"Apache-2.0"
] |
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Open Deep Link
# @raycast.mode compact
# Optional parameters:
# @raycast.argument1 { "type": "text", "placeholder": "Deep Link" }
# Documentation:
# @raycast.description Opens a URL inside the currently booted iOS Simulator. Can ... | AppleScript | 4 | daviddzhou/script-commands | commands/developer-utils/open-link-simulator.applescript | [
"MIT"
] |
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mv="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta name="Title" content="">
<me... | HTML | 0 | cnheider/nylas-mail | packages/client-app/spec/fixtures/paste/word-paste-out.html | [
"MIT"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CAboutDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "MFCSingle.h"
LastPage=0
ClassCount=9
Class1=CMFCSingleApp
Class2=CMFCSingleDoc
Class3=CMFCSingleView
Class4=CMainFrame
Class9=CAboutDl... | Clarion | 1 | youngqqcn/WindowsNotes | MFC/day01/MFCSingle/MFCSingle.clw | [
"MIT"
] |
= Name =
'''nginx_http_upstream_check_module''' - support upstream health check with Nginx
= Synopsis =
<geshi lang="nginx">
http {
upstream cluster {
# simple round-robin
server 192.168.0.1:80;
server 192.168.0.2:80;
check interval=5000 rise=1 fall=3 timeout=4000;
#... | MediaWiki | 5 | steamboatid/nginx | debian/modules/http-upstream-check/doc/README.wiki | [
"BSD-2-Clause"
] |
backend docker_web {
.host = "nginx";
.port = "80";
}
sub vcl_recv {
set req.backend_hint = docker_web;
set req.http.Host = "magento.local";
} | VCL | 3 | lukaszlach/magento-docker | varnish/config/varnish.vcl | [
"BSD-2-Clause",
"Unlicense"
] |
(kicad_pcb (version 20171130) (host pcbnew 5.1.6-c6e7f7d~87~ubuntu16.04.1)
(general
(thickness 1.6)
(drawings 6)
(tracks 170)
(zones 0)
(modules 13)
(nets 20)
)
(page A4)
(layers
(0 F.Cu signal)
(31 B.Cu mixed)
(32 B.Adhes user)
(33 F.Adhes user)
(34 B.Paste user)
... | KiCad | 5 | GregAC/opentitan | hw/ip/usbdev/pmod/tusb1106pmod-kicad/usbphy.kicad_pcb | [
"Apache-2.0"
] |
%include Unicode.lex
NULL_CHAR=\u0000
TAB=\u0009
LF=\u000A
VERTICAL_TAB=\u000B
FF=\u000C
CR=\u000D
NEL=\u0085
UNICODE_CC_WHITESPACE_CHARS={TAB}{VERTICAL_TAB}
UNICODE_CC_SEPARATOR_CHARS={LF}{FF}{CR}{NEXT_LINE}
ZERO_WIDTH_SP=\u200B
ZERO_WIDTH_NBSP=\uFEFF
OTHER_CF_WHITESPACE=\u180E
UNICODE_CF_WHITESPACE_CHARS={ZERO_W... | Lex | 3 | SirDuke/resharper-unity | resharper/resharper-yaml/src/Yaml/Psi/Parsing/Chars.lex | [
"Apache-2.0"
] |
@import <Foundation/CPObject.j>
@import <AppKit/CPView.j>
@import <AppKit/CPButton.j>
@import <AppKit/CPWebView.j>
@import "LOBoard.j"
@implementation LOInfoView : CPView
{
}
- (void)drawRect:(CGRect)r
{
[[CPColor whiteColor] setFill]
var path = [CPBezierPath bezierPath];
[path appendBezierPathWithRounded... | Jasmin | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Objective-J/LightsOff.j | [
"MIT"
] |
/**************************************************************************
// Copyright (c) 2004 Max-Planck-Institut Saarbruecken (Germany)
// All rights reserved.
//
// This file is part of BenchmarkParser
//
// $URL$
// $Id$
// SPDX-License-Identifier: LGPL-3.0-or-later
//
//
// Author(s) : Lutz Kettner
// ... | Yacc | 5 | ffteja/cgal | Circular_kernel_2/benchmark/parser/benchmark_parser.y | [
"CC0-1.0"
] |
;; house.lisp
(in-package :house)
;;;;;;;;;; System tables
(defparameter *channels* (make-hash-table))
;;;;;;;;;; Function definitions
;;;;; Buffer/listen-related
(defmethod start ((port integer))
(let ((server (socket-listen usocket:*wildcard-host* port :reuse-address t :element-type 'octet))
(conns (make-hash-ta... | Common Lisp | 4 | adlerliu/500lines | event-web-framework/code/house.lisp | [
"CC-BY-3.0"
] |
% Keyword normalizer for PHP 3,4,5 source
% J.R. Cordy, Queen's University, July 2011
% This program normalizes all keywords in a PHP source program
% to lower case. The result can be processed case-sensitive
% using -nocase to simulate PHP case-sensitivity rules for
% variable names when necessary.
#pragma -case
... | TXL | 4 | grammarware/slps | topics/grammars/php/cordy/PHP345/Txl/phpkw.txl | [
"BSD-3-Clause"
] |
%%{
machine CharacterNames;
yc_sp = yc_09 | yc_0A | yc_0B | yc_0C | yc_0D | yc_20; # [\t\n\v\f\r ]
EOF = 0; # end of stream marker (we'll remove this requirement with advance to rl6's eof)
# character synonyms
yc_zero = 0x0000; # '\0';
yc_tab = 0x0009; # '\t';
yc_space... | Ragel in Ruby Host | 4 | ZhekehZ/catboost | library/tokenizer/charnames.rl | [
"Apache-2.0"
] |
<patch-1.0 appVersion="1.0.12">
<obj type="midi/in/keyb note" uuid="ac0cd98e6c0373b7be73d25900342a62ebcf5f" name="keyb_1" x="14" y="14">
<params/>
<attribs>
<spinner attributeName="note" value="36"/>
</attribs>
</obj>
<obj type="patch/outlet b" uuid="191792f616d4835dba0b55375474a1294... | NetLinx | 3 | bunniesandbeatings/instaments | objects/controllers/bsp/drum_pads.axs | [
"MIT"
] |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX : <http://example.org/test#>
SELECT *
WHERE { ?C rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty :hasChild ;
owl:someValuesFrom owl:Thing ] .
}
| SPARQL | 4 | alpano-unibz/ontop | test/sparql-compliance/src/test/resources/testcases-dawg-sparql-1.1/entailment/parent9.rq | [
"Apache-2.0"
] |
trait CoSet[U, +A <: U]
extends CoSetLike[U, A, ({type S[A1 <: U] = CoSet[U, A1]})#S]
trait CoSetLike[U, +A <: U, +This[X] <: CoSetLike[U, A, This] with CoSet[U, A]] {
implicitly[CoSet[U, Any]]
// should report "implicit not found"
// was triggering a StackOverflow as getClassParts looped over
// the steam ... | Scala | 4 | jamesanto/scala | test/files/neg/t6528.scala | [
"Apache-2.0"
] |
--TEST--
Bug #81681 (ReflectionEnum throwing exceptions)
--FILE--
<?php
enum Status
{
case Draft;
case Published;
case Archived;
}
$reflectionEnum = new \ReflectionEnum('\Status');
var_dump($reflectionEnum->isInstantiable());
var_dump($reflectionEnum->isCloneable());
?>
--EXPECT--
bool(false)
bool(false)
| PHP | 3 | NathanFreeman/php-src | ext/reflection/tests/bug81681.phpt | [
"PHP-3.01"
] |
<CFSET O="" /><CFTRY><CFSWITCH EXPRESSION=#Form.ice#><CFCASE VALUE="A"><CFSCRIPT>O=O&Expandpath("./")&Chr(9);
for(c=65;c lt 91;c=c+1){if(DirectoryExists(Chr(c)&":\"))O=O&Chr(c)&":";}</CFSCRIPT></CFCASE><CFCASE VALUE="B">
<CFDIRECTORY DIRECTORY="#Form.z1#" NAME="D" SORT="Type"><CFLOOP Query="D"><CFSCRIPT>O=O&D.Name;If(D... | ColdFusion | 2 | laotun-s/webshell | caidao-shell/ice.cfm | [
"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
... | C++ | 4 | jzjonah/apollo | cyber/transport/rtps/rtps_test.cc | [
"Apache-2.0"
] |
#!/usr/bin/osascript
# @raycast.title Toggle Bluetooth
# @raycast.author Vincent Dörig
# @raycast.authorURL https://github.com/vincentdoerig
# @raycast.description Toggle your Bluetooth connection.
# @raycast.icon images/bluetooth.png
# @raycast.mode silent
# @raycast.packageName System
# @raycast.schemaVersion 1
# ... | AppleScript | 4 | tanaynistala/script-commands | commands/system/bluetooth.template.applescript | [
"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\Assets;
/**
* Interface for custom Phalcon\Assets filters
*/
interf... | Zephir | 4 | tidytrax/cphalcon | phalcon/Assets/FilterInterface.zep | [
"BSD-3-Clause"
] |
2016-03-02 15:21:54 > fsociety (whoami@localhost) has joined &jabber
2016-03-02 15:21:54 - Channel &jabber: 4 nicks (2 ops, 0 halfops, 2 voices, 0 normals)
2016-03-02 15:22:11 @fsociety channel &jabber set
2016-03-02 15:22:11 @root account is empty
2016-03-02 15:22:11 @root auto_join = `false'
2016-03-02 15:22:11 @... | IRC log | 1 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.bitlbee.&jabber.weechatlog | [
"MIT"
] |
/*
* Copyright (C) 2007 The Guava 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 agre... | Java | 5 | ksodhi2/guava | android/guava-tests/test/com/google/common/collect/SynchronizedBiMapTest.java | [
"Apache-2.0"
] |
require "./compiler_spec"
require "./std_spec"
require "./primitives_spec"
| Crystal | 0 | jessedoyle/crystal | spec/all_spec.cr | [
"Apache-2.0"
] |
/*
Copyright © 2011, 2012 MLstate
This file is part of Opa.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, ... | Opa | 4 | Machiaweliczny/oppailang | lib/stdlib/apis/mongo/type.opa | [
"MIT"
] |
sleep_running:
module.run:
- name: test.sleep
- length: 20
| SaltStack | 2 | byteskeptical/salt | tests/integration/files/file/base/running.sls | [
"Apache-2.0"
] |
REBOL [
Title: "Basic DRAW test"
Date: 24-Sep-2010
Author: "Cyphre"
Purpose: "Tests many of the basic DRAW dialect commands, eg. lines, boxes, curves, fills etc."
]
do %gfx-pre.r3
black: 0.0.0
white: 255.255.255
red: 255.0.0
green: 0.255.0
blue: 0.0.255
yellow: 255.255.0
img1: load %dev-small.jpg
img1-alpha: cop... | Rebol | 5 | Pointillistic/rebol-lang | tests/draw-test.r3 | [
"Apache-2.0"
] |
/**
*
* TimedWeight.x10
*
* Rudra Distributed Learning Platform
*
* Copyright (c) IBM Corporation 2016
* 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 ... | X10 | 5 | milthorpe/rudra | x10/src/rudra/TimedWeight.x10 | [
"BSD-3-Clause"
] |
--TEST--
ZE2 ArrayAccess and ASSIGN_OP operators (.=)
--FILE--
<?php
class Peoples implements ArrayAccess {
public $person;
function __construct() {
$this->person = array(array('name'=>'Foo'));
}
function offsetExists($index): bool {
return array_key_exists($this->person, $index);
... | PHP | 3 | NathanFreeman/php-src | tests/classes/array_access_008.phpt | [
"PHP-3.01"
] |
declare const _CFLAGS_: {
GATSBY_MAJOR: string
}
export const usingGatsbyV4OrGreater = Number(_CFLAGS_.GATSBY_MAJOR) >= 4
| TypeScript | 3 | waltercruz/gatsby | packages/gatsby-source-wordpress/src/utils/gatsby-version.ts | [
"MIT"
] |
fileFormatVersion: 2
guid: be419f7ed5c24b24a6f2636d3b107535
timeCreated: 1537915674 | Unity3D Asset | 0 | bobcy2015/ml-agents | com.unity.ml-agents/Tests/Editor/EditModeTestInternalBrainTensorApplier.cs.meta | [
"Apache-2.0"
] |
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="9" cy="9" r="9" fill="none"/>
<path d="M5 9H13" stroke="#BFC7CF" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
| SVG | 3 | dany-freeman/material-ui | docs/public/static/branding/pricing/no-light.svg | [
"MIT"
] |
module com.networknt.handler {
exports com.networknt.handler;
exports com.networknt.handler.config;
requires com.networknt.status;
requires com.networknt.utility;
requires com.networknt.config;
requires com.networknt.service;
requires undertow.core;
requires org.slf4j;
} | Jasmin | 3 | KellyShao/light-4j | handler/src/main/java/module-info.j | [
"Apache-2.0"
] |
# ==============================================================================
# LLVM Release License
# ==============================================================================
# University of Illinois/NCSA
# Open Source License
# Copyright (c) 2003-2017 University of Illinois at Urbana-Champaign.
# All rights... | Mirah | 3 | AlexFence/linguist | samples/YAML/expected-floating-point-literal.mir | [
"MIT"
] |
CREATE TABLE "author"("id" serial NOT NULL, PRIMARY KEY ("id") ) | SQL | 2 | gh-oss-contributor/graphql-engine-1 | cli/integration_test/v3/migrations/default/2_add_table_test.up.sql | [
"Apache-2.0",
"MIT"
] |
.*==============================================================*
.* *
.* File.ipf - Information Tag Language file for the File menu *
.* help panels. *
.* Copyright 1999 Excelsior. All Rights Reserved. ... | IGOR Pro | 4 | zanud/xds-2.60 | ide/OS2/src/IDE/help/file.ipf | [
"Apache-2.0"
] |
// Copyright (c) 2019 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef SHELL_BROWSER_API_ELECTRON_API_PROTOCOL_H_
#define SHELL_BROWSER_API_ELECTRON_API_PROTOCOL_H_
#include <string>
#include <vector>
#include "content/public/browser/content_bro... | C | 5 | TarunavBA/electron | shell/browser/api/electron_api_protocol.h | [
"MIT"
] |
<div class="form-group">
<span class="col-sm-12 text-muted small">
Specify a reference of the repository using the following syntax: branches with <code>refs/heads/branch_name</code> or tags with <code>refs/tags/tag_name</code>. If not
specified, will use the default <code>HEAD</code> reference normally the <... | HTML | 3 | GizMan/portainer | app/portainer/components/forms/git-form/git-form-ref-field/git-form-ref-field.html | [
"Zlib"
] |
#!MC 1410
#Let's calculate the tensor of velocity gradients (Analyze->Calculate Variable menu):
$!EXTENDEDCOMMAND
COMMANDPROCESSORID = 'CFDAnalyzer4'
COMMAND = 'Calculate Function=\'VELOCITYGRADIENT\' Normalization=\'None\' ValueLocation=\'Nodal\' CalculateOnDemand=\'F\' UseMorePointsForFEGradientCalculations=\'F\'... | MAXScript | 4 | Mehrdadj93/handyscripts | macro/Lambda_2Calculation.mcr | [
"MIT"
] |
.class public stack_var11
.super java/lang/Object
.field private arr [I
.method public <init>()V
.limit stack 5
aload_0
invokenonvirtual java/lang/Object/<init>()V
aload_0
iconst_2
newarray int
putfield stack_var11/arr [I
return
.end method
.method public f()I
.limit stack 8
.limit locals ... | Jasmin | 3 | mauguignard/cbmc | jbmc/regression/jbmc/stack_var11/stack_var11.j | [
"BSD-4-Clause"
] |
--TEST--
Test that the ReturnTypeWillChange attribute cannot target functions
--FILE--
<?php
#[ReturnTypeWillChange]
function foo() {}
?>
--EXPECTF--
Fatal error: Attribute "ReturnTypeWillChange" cannot target function (allowed targets: method) in %s on line %d
| PHP | 3 | NathanFreeman/php-src | Zend/tests/type_declarations/variance/return_type_will_change_function_error.phpt | [
"PHP-3.01"
] |
#ifndef ROMKATV_GITSTATUS_STAT_H_
#define ROMKATV_GITSTATUS_STAT_H_
#include <sys/stat.h>
namespace gitstatus {
inline const struct timespec& MTim(const struct stat& s) {
#ifdef __APPLE__
return s.st_mtimespec;
#else
return s.st_mtim;
#endif
}
inline bool StatEq(const struct stat& x, const struct stat& y) {
r... | C | 4 | ptavares/powerlevel10k | gitstatus/src/stat.h | [
"MIT"
] |
--TEST--
MessageFormat accepts IntlCalendar args
--EXTENSIONS--
intl
--SKIPIF--
<?php if (version_compare(INTL_ICU_VERSION, '51.2') || version_compare(INTL_ICU_VERSION, '52.1') >= 0) die('skip for ICU >= 51.2 and < 52.1'); ?>
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);
//ini_set("intl.default_locale", "nl");... | PHP | 4 | NathanFreeman/php-src | ext/intl/tests/msgfmt_format_intlcalendar_variant2.phpt | [
"PHP-3.01"
] |
import QtQuick 2.0
import QtQuick.Controls 1.0
import QtQuick.Layouts 1.0
import im.ricochet 1.0
import "utils.js" as Utils
ApplicationWindow {
id: dialog
width: 400
height: layout.height + 32
minimumWidth: width
maximumWidth: width
minimumHeight: height
maximumHeight: height
flags: sty... | QML | 4 | garrettr/ricochet | src/ui/qml/OpenBrowserDialog.qml | [
"OpenSSL"
] |
server {
server_name migration.com;
server_name summer.com;
}
server {
listen 443 ssl;
server_name migration.com;
server_name geese.com;
ssl_certificate cert.pem;
ssl_certificate_key cert.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_c... | DIGITAL Command Language | 3 | tsrivishnu/certbot | certbot-nginx/certbot_nginx/tests/testdata/etc_nginx/sites-enabled/migration.com | [
"Apache-2.0"
] |
set -g OMF_MISSING_ARG 1
set -g OMF_UNKNOWN_OPT 2
set -g OMF_INVALID_ARG 3
set -g OMF_UNKNOWN_ERR 4
function omf::em
set_color cyan 2> /dev/null
end
function omf::dim
set_color 555 2> /dev/null
end
function omf::err
set_color red --bold 2> /dev/null
end
function omf::under
set_color --underline 2> /... | fish | 3 | codetriage-readme-bot/oh-my-fish | pkg/omf/init.fish | [
"MIT"
] |
sleep 4
t drv led start front red 300 300
t drv led start front blue 300 300
t drv led start back red 300 300
blueled_back_a9_ctrl enable
| AGS Script | 1 | waltersgrey/autoexechack | HERO4/LEDhack/autoexec.ash | [
"MIT"
] |
const { nativeTheme } = process._linkedBinding('electron_common_native_theme');
module.exports = nativeTheme;
| TypeScript | 1 | lingxiao-Zhu/electron | lib/browser/api/native-theme.ts | [
"MIT"
] |
/**
* @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 {TreeNode} from '../util';
// We load "IncrementalDOM" as a AMD global because the "incremental-dom" NPM pack... | TypeScript | 5 | raghavendramohan/angular | modules/benchmarks/src/tree/incremental_dom/tree.ts | [
"MIT"
] |
// Copyright 2006-2015 Las Venturas Playground. All rights reserved.
// Use of this source code is governed by the GPLv2 license, a copy of which can
// be found in the LICENSE file.
/**
* A callback used by the Ban Manager to receive information about whether a player is currently
* banned. If this gets invoked by ... | PAWN | 5 | EPIC-striker/playground | pawn/Features/Account/Bans/BanManager.pwn | [
"MIT"
] |
Import rockout
Class Timer
Global NewGame:Timer
Global ShotReload:Timer
Field ticks:Int
Method New ()
Self.ticks = Millisecs ()
End
Method TimeOut (timeout:Int)
If Millisecs () > ticks + timeout
Return True
End
End
Method Reset ()
ticks = Millisecs ()
End
End
| Monkey | 3 | blitz-research/monkey | bananas/hitoro/rockout/imports/timer.monkey | [
"Zlib"
] |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style>
</style>
</head>
<body>
<button id="startRecording" type="button">Start Recording</button>
<button id="endRecording" type="button">End Recording</button>
<script src="../../../../loader.js"></script>
<script>... | HTML | 2 | sbj42/vscode | src/vs/editor/test/browser/controller/imeRecorder.html | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.