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 |
|---|---|---|---|---|---|
//===- FuzzerTracePC.cpp - PC tracing--------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | 4 | sdmg15/json | test/thirdparty/Fuzzer/FuzzerTracePC.cpp | [
"MIT"
] |
/* @generated */
digraph cfg {
"super_example_main.e3ebe95e6c5ae811733f235c29fbbf6d_1" [label="1: Start super_example_main\nFormals: argc:int argv:char**\nLocals: a:objc_object* \n " color=yellow style=filled]
"super_example_main.e3ebe95e6c5ae811733f235c29fbbf6d_1" -> "super_example_main.e3ebe95e6c5ae811733f235... | Graphviz (DOT) | 3 | JacobBarthelmeh/infer | infer/tests/codetoanalyze/objc/shared/field_superclass/SuperExample.m.dot | [
"MIT"
] |
server {
listen 80;
server_name mizamae2.ddns.net;
charset utf-8;
location = /favicon.ico { access_log off; log_not_found off; }
location /static/ {
autoindex on;
alias /home/pi/diy4dot0/site/static/;
}
location /media/{
autoindex on;
alias /home/pi/diy4dot0/src/media/;
... | Nginx | 4 | mizamae/DIY4dot0 | docs/Nginx/diy4dot0.nginxconf | [
"MIT"
] |
[38;2;190;132;255mBAT[0m[38;2;249;38;114m([0m[38;2;230;219;116m1[0m[38;2;249;38;114m)[0m[38;2;248;248;242m [0m[38;2;253;151;31mGeneral[0m[38;2;253;151;31m [0m[38;2;253;151;31mCommands[0m[38;2;253;151;31m [0m[38;2;253;151;31mManual[0m[38;2;248;248;242m [0m[... | Groff | 4 | JesseVermeulen123/bat | tests/syntax-tests/highlighted/Manpage/bat-0.16.man | [
"Apache-2.0",
"MIT"
] |
open System
open Microsoft.AspNetCore.Builder
open Microsoft.Extensions.Hosting
[<EntryPoint>]
let main args =
let builder = WebApplication.CreateBuilder(args)
let app = builder.Build()
app.MapGet("/", Func<string>(fun () -> "Hello World!")) |> ignore
app.Run()
0 // Exit code
| F# | 3 | tomaswesterlund/aspnetcore | src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/Program.fs | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | CSS | 3 | sbj42/vscode | src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css | [
"MIT"
] |
-- This test file was converted from inner-join.sql.
CREATE TEMPORARY VIEW t1 AS SELECT * FROM VALUES (1) AS GROUPING(a);
CREATE TEMPORARY VIEW t2 AS SELECT * FROM VALUES (1) AS GROUPING(a);
CREATE TEMPORARY VIEW t3 AS SELECT * FROM VALUES (1), (1) AS GROUPING(a);
CREATE TEMPORARY VIEW t4 AS SELECT * FROM VALUES (1), (... | SQL | 3 | OlegPt/spark | sql/core/src/test/resources/sql-tests/inputs/udf/udf-inner-join.sql | [
"Apache-2.0"
] |
/*
Copyright 2015-2021 Scott Bezek and the splitflap contributors
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 b... | OpenSCAD | 5 | tomihbk/splitflap | 3d/flap.scad | [
"Apache-2.0"
] |
#![warn(clippy::str_to_string)]
fn main() {
let hello = "hello world".to_string();
let msg = &hello[..];
msg.to_string();
}
| Rust | 3 | Eric-Arellano/rust | src/tools/clippy/tests/ui/str_to_string.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
- unless browser.modern?
.alert.alert-danger.alert-dismissible role="alert"
.container
button.close type="button" data-dismiss="alert"
span aria-hidden="true" ×
span.sr-only Close
span.text-important == t('.modern')
.alert.alert-danger.alert-dismissable.pusher-unavailable.hide r... | Slim | 2 | gsmlg/peatio | app/views/shared/_alert.html.slim | [
"MIT"
] |
#include-once
; Moved this stuff here to make the script easier to read/modify
Global Const $S_OK = 0
Global Const $sTag_CLRMetaHost = _
"GetRuntime hresult(wstr;struct*;ptr);" & _
"GetVersionFromFile hresult(ptr;ptr;ptr);" & _
"EnumerateInstalledRuntimes hresult(ptr);" & _
"E... | AutoIt | 3 | ohio813/OffensiveAutoIt | Execution/ExecuteAssembly/Includes/CLRConsts.au3 | [
"BSD-2-Clause"
] |
// Bootstrap
@import 'vendor-bootstrap.less';
@import (less) '../fonts/font-awesome.css';
| Less | 1 | KarlParkinson/mitmproxy | web/src/css/vendor.less | [
"MIT"
] |
template(name="editor")
a.fa.fa-copy(title="{{_ 'copy-text-to-clipboard'}}")
span.copied-tooltip {{_ 'copied'}}
textarea.editor(
dir="auto"
class="{{class}}"
id=id
autofocus=autofocus
placeholder="{{_ 'comment-placeholder'}}")
+Template.contentBlock
template(name="viewer")
.viewer(dir="... | Jade | 3 | Knitter/wekan | client/components/main/editor.jade | [
"MIT"
] |
XXV
library ieee;
use ieee.std_logic_1164.all;
use work.std_logic_1164_ktp.all;
use work.RPC_PAC_def.all;
package RPC_PAC_patt is
constant TT_MPAC_CFG_ID :THV(3 downto 0) := "XXXX";
constant TT_MPAC_OR_LIMIT :natural := 0; --| 0...3
XXN
constant TT_GBSORT_INPUTS :natural := 12;
constant PACLogPla... | VHDL | 3 | ckamtsikis/cmssw | L1TriggerConfig/RPCTriggerConfig/test/pacTemplate.vhd | [
"Apache-2.0"
] |
PUT /q=08aP8931Ltyl9nqyJvjMaRCOgDV3uONtAdHABjoZUG6KAP6h3Vh97O3GJjjovXYgNdrhxc7TriXoAmeehZMJx88EyhcPXO0f09Nvd128SZnxZ2r5jFDELkn26reKRysODSLBZLfjU3vxLzLXKWeFOFJKcZYRH9V7hC98DDS4ZsS7weUksBuK6m86aLNHHHB0Xbyxv1TiDbOWYIzKxV0eZKyk0CaDLDiR0CRuMOf4rwBeuHoMrumzafrFI5iL72ANQZmOvKdk1qQeXkRqEG11YU0kF7f1hSlmgiIgg5maWiBsA9sAg36IIXZMW... | HTTP | 0 | ashishmjn/gunicorn | tests/requests/invalid/006.http | [
"MIT"
] |
#
# Automatically generated file; DO NOT EDIT.
# Linux/s390 5.4.15 Kernel Configuration
#
#
# Compiler: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=70500
CONFIG_CLANG_VERSION=0
CONFIG_CC_CAN_LINK=y
CONFIG_CC_HAS_ASM_GOTO=y
CONFIG_CC_HAS_ASM_INLINE=y
CONFIG_CC_HAS_WARN_MAYBE_UNINITIA... | Logos | 2 | eadamsintel/kata-containers | tools/packaging/kernel/configs/s390_kata_kvm_5.4.x | [
"Apache-2.0"
] |
"""
0
"""
import System.Threading
import System.Threading.Tasks
import System
callable MyDel[of U](ref u as U) as Task
class MyClass[of T]:
public static def Meth(ref t as T) as Task:
t = Default(T)
return Task.Run(async ({ await(Task.Delay(1)); TestCase.Count++ }))
public myDel as MyDel[of ... | Boo | 4 | popcatalin81/boo | tests/testcases/async/delegate-async.boo | [
"BSD-3-Clause"
] |
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#include "go_asm.h"
#include "textflag.h"
// Caller must confirm availability of vx facility before calling.
TEXT ·Index(SB),NOSPLIT|NOFRAME,$0-56
LMG a_base+... | GAS | 3 | Havoc-OS/androidprebuilts_go_linux-x86 | src/internal/bytealg/index_s390x.s | [
"BSD-3-Clause"
] |
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Close Duplicated Tabs
# @raycast.mode silent
# Optional parameters:
# @raycast.packageName Safari
# @raycast.icon images/safari.png
# @Documentation:
# @raycast.author Thomas Paul Mann
# @raycast.authorURL https://github.com/thom... | AppleScript | 4 | daviddzhou/script-commands | commands/apps/safari/safari-close-duplicated-tabs.applescript | [
"MIT"
] |
if ! (( $+commands[curl] )); then
echo "rand-quote plugin needs curl to work" >&2
return
fi
function quote {
setopt localoptions nopromptsubst
# Get random quote data
local data
data="$(command curl -s --connect-timeout 2 "http://www.quotationspage.com/random.php" \
| iconv -c -f ISO-8859-1 -t UTF-8 \... | Shell | 5 | sshishov/ohmyzsh | plugins/rand-quote/rand-quote.plugin.zsh | [
"MIT"
] |
--TEST--
ReflectionClass::getReflectionConstants() with $filter
--FILE--
<?php
class A {
public const PUBLIC_CONST = 'BAR';
public const ANOTHER_PUBLIC_CONST = 'BAZ';
protected const PROTECTED_CONST = 'FOO';
private const PRIVATE_CONST = 'QUOZ';
}
class B {
public const PUBLIC_CONST = 'BAR';
protec... | PHP | 4 | NathanFreeman/php-src | ext/reflection/tests/ReflectionClass_getReflectionConstants_filter.phpt | [
"PHP-3.01"
] |
#if 0
#unknown_test This is a test
#endif
main() {}
| PAWN | 0 | pawn-lang/pawn | source/compiler/tests/ignore_unknown_directives_gh_426.pwn | [
"Zlib"
] |
//
// Copyright (c) XSharp B.V. All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
// See License.txt in the project root for license information.
//
USING System.Collections.Generic
USING System.Collections
USING System.Xml
using System.Text
ENUM DBServerItemType
MEMBER DBServer
MEMBER @@Field... | xBase | 4 | orangesocks/XSharpPublic | VisualStudio/XSharpVoEditors/Designers/VOEditorsShared.prg | [
"Apache-2.0"
] |
60 mtof 0.1 saw 1000 atone
| SourcePawn | 0 | aleatoricforest/Sporth | examples/blsaw.sp | [
"MIT"
] |
#include "mop.h"
MODULE = Class::MOP::Method PACKAGE = Class::MOP::Method
PROTOTYPES: DISABLE
BOOT:
INSTALL_SIMPLE_READER(Method, name);
INSTALL_SIMPLE_READER(Method, package_name);
INSTALL_SIMPLE_READER(Method, body);
bool
is_stub(self)
SV *self
PREINIT:
CV *const body = (CV *)SvRV( ... | XS | 3 | skington/Moose | xs/Method.xs | [
"Artistic-1.0"
] |
/* line comment */
navigation {
color: blue
}
menu {
/* line comment inside */
border: 2px
}
/* block
comment */
sidebar {
color: red
}
invisible {
/* block
* comment
* inside */
color: #eee
}
| CSS | 2 | 0x7c48/mitmproxy | test/mitmproxy/contentviews/test_css_data/block-comment-formatted.css | [
"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 {MappingItem, RawSourceMap, SourceMapConsumer} from 'source-map';
import {NgtscTestEnvironment} from './env';
... | TypeScript | 5 | John-Cassidy/angular | packages/compiler-cli/test/ngtsc/sourcemap_utils.ts | [
"MIT"
] |
/*
Module: fac
Copyright: (c) 2005 Galois Connections, Inc.
Author: Lee Pike, Galois Connections, Inc. <leepike@galois.com>
*/
// Factorial
exports fac;
fac : B^32 -> B^8;
fac i = facs @@ i
where {
rec
idx : B^8^inf;
idx = [0] ## [x + 1 | x <- idx];
and
facs : B^8^inf;
... | MAXScript | 3 | mayankmanj/acl2 | books/workshops/2006/pike-shields-matthews/core_verifier/factorial/fac.mcr | [
"BSD-3-Clause"
] |
; -*- scheme -*-
; dictionaries ----------------------------------------------------------------
(define (dict-new) ())
(define (dict-extend dl key value)
(cond ((null? dl) (list (cons key value)))
((equal? key (caar dl)) (cons (cons key value) (cdr dl)))
(else (cons (car dl) (dict-ext... | Common Lisp | 4 | greimel/julia | src/flisp/color.lsp | [
"Zlib"
] |
****************************************************************************
* *
* Copyright 2018 ABSA Group Limited *
* ... | COBOL | 3 | yruslan/cobrix | data/test25_copybook.cob | [
"Apache-2.0"
] |
/**
*
*/
import Util;
import OpenApi;
import OpenApiUtil;
import EndpointUtil;
extends OpenApi;
init(config: OpenApi.Config){
super(config);
@endpointRule = 'regional';
@endpointMap = {
cn-beijing-gov-1 = 'imm-vpc.cn-beijing-gov-1.aliyuncs.com',
};
checkConfig(config);
@endpoint = getEndpoint('im... | Tea | 4 | aliyun/alibabacloud-sdk | imm-20170906/main.tea | [
"Apache-2.0"
] |
<?Lassoscript
// Last modified 8/17/09 by ECL
// FUNCTIONALITY
// This file defines globals to determine whether various utilities are installed
// We check to see that the program really exists.
// This is a simple check for a file at that location. It does NOT check that it is a valid install!
// CHANGE NOTES
// 8/... | Lasso | 4 | fourplusone/SubEthaEdit | Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/LI_CheckUtilities.lasso | [
"MIT"
] |
version https://git-lfs.github.com/spec/v1
oid sha256:2a83c61fdf9a8da7604082903d1e01386595d4db303f0a032fbd0bc2542355a5
size 576
| Nit | 0 | JGCRI/lds | indata/WaterFootprint/Report47-App-IV-RasterMaps/Sunflower/info/arc0001.nit | [
"BSD-3-Clause-LBNL"
] |
%{
/* all code in this file is original, and was written by:
*
* PAYTON JAMES SHALTIS
* COMPLETED MAY 4TH, 2021
*
* for
*
* B-MINOR COMPILER, v1.0
*
*
* in CSC-425: "Compilers and Interpreters" taught by Professor John DeGood,
* over the course of the Spring 2021 semester. I understand that keeping this
* ... | Bison | 5 | paytonshaltis/B-Minor | parser.bison | [
"CC0-1.0"
] |
module Libraries.Control.ANSI
import public Libraries.Control.ANSI.CSI
import public Libraries.Control.ANSI.SGR
%default total
public export
record DecoratedString where
constructor MkDString
sgr : List SGR
str : String
export
Show DecoratedString where
show dstr = escapeSGR dstr.sgr ++ dstr.str ++ escapeSG... | Idris | 4 | ska80/idris-jvm | src/Libraries/Control/ANSI.idr | [
"BSD-3-Clause"
] |
Node tagged_pointer {
CodeUnit
NamespaceDef
TypeParams
Attribute
FunctionDef
Param
FieldDef
StaticFieldDef
TaggedPointerOptionDef
TypeModifierExpression
TypeArgsExpression
BlockStatement
ExpressionStatement
ReturnStatement
BreakStatement
ContinueStatement
IfStatement
WhileStatement
ForEachStatement
... | mupad | 4 | jturner/muon | compiler/ast.mu | [
"MIT"
] |
--TEST--
Enum no new through reflection
--FILE--
<?php
enum Foo {}
try {
(new \ReflectionClass(Foo::class))->newInstanceWithoutConstructor();
} catch (Error $e) {
echo $e->getMessage() . "\n";
}
?>
--EXPECT--
Cannot instantiate enum Foo
| PHP | 3 | NathanFreeman/php-src | Zend/tests/enum/no-new-through-reflection.phpt | [
"PHP-3.01"
] |
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct main0_out
{
float4 o0 [[color(0)]];
};
struct main0_in
{
float2 m_2 [[user(locn1)]];
float m_3 [[user(locn1_2)]];
float m_4 [[user(locn2), flat]];
uint m_5 [[user(locn2_1)]];
uint m_6 [[user(locn2_2)]];
};
fragment ... | GLSL | 3 | Alan-love/filament | third_party/spirv-cross/reference/shaders-msl/asm/frag/locations-components.asm.frag | [
"Apache-2.0"
] |
# --- VideoInput/DirectShow ---
if(NOT HAVE_DSHOW AND MSVC AND NOT MSVC_VERSION LESS 1500)
set(HAVE_DSHOW TRUE)
endif()
if(NOT HAVE_DSHOW)
check_include_file(dshow.h HAVE_DSHOW)
endif()
if(HAVE_DSHOW)
ocv_add_external_target(dshow "" "" "HAVE_DSHOW")
endif()
| CMake | 3 | xipingyan/opencv | modules/videoio/cmake/detect_dshow.cmake | [
"Apache-2.0"
] |
module UI.Curses.Type where
import Foreign.C.Types
import Foreign.Ptr (Ptr)
#include "mycurses.h"
{#pointer *WINDOW as Window newtype#}
{-
Wrapper types corresponding to typedefs on the C side,
to avoid making assumptions about what their underlying
types are (e.g., the underlying type of chtype is
user-configurabl... | C2hs Haskell | 4 | mirk0dex/vimus | ncursesw/src/UI/Curses/Type.chs | [
"MIT"
] |
=pod
=head1 NAME
PKCS12_PBE_keyivgen, PKCS12_PBE_keyivgen_ex,
PKCS12_pbe_crypt, PKCS12_pbe_crypt_ex - PKCS#12 Password based encryption
=head1 SYNOPSIS
#include <openssl/evp.h>
int PKCS12_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
ASN1_TYPE *param, const EVP_CIPHER ... | Pod | 5 | pmesnier/openssl | doc/man3/PKCS12_PBE_keyivgen.pod | [
"Apache-2.0"
] |
<h4 class="ui dividing header">{{ 'sylius.ui.variants'|trans }}</h4>
{{ form_row(form.variants) }}
| Twig | 1 | titomtd/Sylius | src/Sylius/Bundle/AdminBundle/Resources/views/ProductVariant/Generate/_form.html.twig | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | 4 | EngineLessCC/vscode | src/vs/platform/theme/browser/iconsStyleSheet.ts | [
"MIT"
] |
$TTL 300
@ IN DS 1 1 1 FFFF
IN DS 1000 13 2 AABBCCDDEEFF
| DNS Zone | 2 | hosting-de-labs/dnscontrol | pkg/js/parse_tests/027-ds/foo.com.zone | [
"MIT"
] |
#!/bin/sh
sbcl --noinform --noprint <<EOF
(ql:quickload :cl-bunny.examples)
(in-package :cl-bunny.examples)
(with-connection ()
(with-channel ()
(let ((q (queue.declare :name "task_queue" :durable t)))
(format t " [*] Waiting for messages in queue 'task_queue'. To exit press CTRL+C~%")
(qos :prefe... | Common Lisp | 4 | Diffblue-benchmarks/Rabbitmq-rabbitmq-tutorials | common-lisp/worker.lisp | [
"Apache-2.0"
] |
%{^
#include <avr/io.h>
#include <util/delay.h>
#include "Arduino.h"
%}
#define LOW 0x0
#define HIGH 0x1
#define INPUT 0x0
#define OUTPUT 0x1
#define LSBFIRST 0
#define MSBFIRST 1
typedef pin_t = natLt(256)
macdef LED_BUILTIN = $extval(pin_t, "LED_BUILTIN")
macdef A0 = $extval(pin_t, "A0")
abst@ype ANALO... | ATS | 3 | Proclivis/arduino-ats | SATS/arduino.sats | [
"MIT"
] |
ruleset io.picolabs.oauth_server {
meta {
shares __testing, clients
}
global {
__testing = { "queries": [ { "name": "__testing" },
{ "name": "clients" } ],
"events": [ { "domain": "oauth", "type": "register",
"attrs": [ "clie... | KRL | 5 | kanatcher/picos | packages/pico-engine/krl/io.picolabs.oauth_server.krl | [
"MIT"
] |
// Copyright 2010-2016 RethinkDB, all rights reserved.
#include "crypto/random.hpp"
#include <openssl/rand.h>
#include "crypto/error.hpp"
namespace crypto {
void detail::random_bytes(unsigned char *data, size_t size) {
if (RAND_bytes(data, size) != 1) {
throw openssl_error_t(ERR_get_error());
}
}
}... | C++ | 4 | zadcha/rethinkdb | src/crypto/random.cc | [
"Apache-2.0"
] |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2015 Benoit Steiner <benoit.steiner.goog@gmail.com>
// Copyright (C) 2015 Benoit Jacob <benoitjacob@google.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a c... | C | 4 | abhaikollara/tensorflow | third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductNEON.h | [
"Apache-2.0"
] |
use BigInteger;
var a = new bigint(2);
var b = new bigint(4);
var d = new bigint();
d.pow(a, -1); // d = a^-1
writeln("2^-1 = ", d);
d.pow(a, -2); // d = a^-2
writeln("2^-2 = ", d);
d.pow(b, -1); // d = b^-1
writeln("4^-1 = ", d);
d.pow(b, -2); // d = b^-2
writeln("4^-2 = ", d);
d.pow(1, -1); // d = 1^-1
writeln(... | Chapel | 3 | jhh67/chapel | test/library/standard/GMP/powCheck.chpl | [
"ECL-2.0",
"Apache-2.0"
] |
--- src/qt_install.pri.orig Mon Sep 13 09:25:13 2004
+++ src/qt_install.pri Mon Sep 13 09:24:40 2004
@@ -24,7 +24,7 @@
QtDocs = /Developer/Documentation/Qt
framework.path = $$QtFramework/Headers/private $$QtDocs
framework.extra = -cp -rf $$htmldocs.files $(INSTALL_ROOT)/$$QtDocs;
- framework.ext... | QMake | 2 | davidlrichmond/macports-ports | aqua/qt3-mac/files/patch-src-qt_install.pri | [
"BSD-3-Clause"
] |
<html>
<body>a dummy test layout</body>
</html> | Groovy Server Pages | 1 | moskauerst/grails-core | grails-test-suite-uber/src/test/groovy/WEB-INF/grails-app/views/layouts/test2/testAction.gsp | [
"Apache-2.0"
] |
KIDS Distribution saved on May 25, 2021@12:37:32
SAMI*18.0*11 SEQ #11 T9 (1.18.0.11-t9+i11)
**KIDS**:SAMI*18.0*11^
**INSTALL NAME**
SAMI*18.0*11
"BLD",11508,0)
SAMI*18.0*11^SAMI^0^3210525^n
"BLD",11508,1,0)
^^1^1^3210329^
"BLD",11508,1,1,0)
Critical bugs fixed in Intake, CT eval, and reports
"BLD",11508,4,0)
^9.64PA^^... | Genshi | 5 | OSEHRA/SAMI-VAPALS-ELCAP | dist/18-11/t9/sami-1.18.0.11-t9-i11.kid | [
"Apache-2.0"
] |
local x=10;
local y="asd"
local testy = function(){return 0;}
TestTable <- {
livello2 = {
livello3 = {
["yooo"]="I'm cool",
["jaaaa"]=[1,2,3,4,5,6,7,8,9,10],
}
}
}
function TestFunc(a,b)
{
local z=100
local s="I'm a string"
for(local i=0;i<10;i++)
TestTable.cappero(z,i);
//index_that_desnt_exis... | Squirrel | 2 | LavKazan/ThePassTimeProject | src/thirdparty/SQUIRREL2/sqdbg/test.nut | [
"Unlicense"
] |
<div class="mdl-cell mdl-cell--12-col mdl-cell--6-col-tablet mdl-cell--4-col-phone">
<img class="tutorial-image" src="{% root %}{{ image }}"/>
<div class="tutorial-caption">{{ caption }}</div>
</div> | Liquid | 2 | noahcb/lit | website/src/_includes/partials/inset-image.liquid | [
"Apache-2.0"
] |
domain: "{ S5[i] : i >= 0 and i <= 14; S6[i, j] : i >= 0 and i <= 14 and j >= 0 and j <= 9; S7[i] : i >= 0 and i <= 14; S4[i] : i >= 0 and i <= 2; S2[i, j] : i >= 0 and i <= 2 and j >= 0 and j <= 11 - i; S1[i] : i >= 0 and i <= 2; S3[i, j] : i >= 0 and i <= 2 and j >= 0 and j <= 11 - i }"
child:
context: "{ [] }"
c... | Smalltalk | 2 | chelini/isl-haystack | test_inputs/codegen/cloog/orc.st | [
"MIT"
] |
/**
* This is a JavaDoc-like block comment.
* It contains asterisks inside of it.
* It might also be closed with multiple asterisks.
* Like this:
**/
true | JSON5 | 1 | leandrochomp/react-skeleton | node_modules/babelify/node_modules/babel-core/node_modules/json5/test/parse-cases/comments/block-comment-with-asterisks.json5 | [
"MIT"
] |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Base64.sol";
contract Base64Mock {
function encode(bytes memory value) external pure returns (string memory) {
return Base64.encode(value);
}
}
| Solidity | 4 | gen4sp/STD-Contract | contracts/openzeppelin/mocks/Base64Mock.sol | [
"MIT"
] |
v5 = i1
build out3.3: dump
| Ninja | 0 | srid/shake | src/Test/Ninja/test3-inc.ninja | [
"BSD-3-Clause"
] |
<!DOCTYPE html>
<html>
<body>
<h1 id="result"></h1>
<script type="text/javascript">
var reference = new Worker('./worker.js');
document.getElementById('result').innerHTML='success'
</script>
</body>
</html> | HTML | 3 | frank-dspeed/nw.js | test/sanity/issue6504-indexedDB-open-crash/main.html | [
"MIT"
] |
;;;; -*- Mode: Lisp; Syntax: Common-Lisp -*-
;;;; Code from Paradigms of AI Programming
;;;; Copyright (c) 1991 Peter Norvig
;;;; search.lisp: Search routines from section 6.4
(defun tree-search (states goal-p successors combiner)
"Find a state that satisfies goal-p. Start with states,
and search according to su... | Common Lisp | 5 | sethaldini/paip-lisp | lisp/search.lisp | [
"MIT"
] |
" Vim filetype plugin file
" Language: C#
" Maintainer: Johannes Zellner <johannes@zellner.org>
" Last Change: Tue, 09 Mar 2004 14:09:33 CET
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
finish
endif
" Don't load another plugin for this buffer
let b:did_ftplugin = 1
let s:keepcpo= &cp... | VimL | 4 | uga-rosa/neovim | runtime/ftplugin/cs.vim | [
"Vim"
] |
# Swagger Petstore
#
# This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
#
# OpenAPI spec version: ... | R | 5 | jjssoftware/swagger-codegen | samples/client/petstore/r_test/R/ApiResponse.r | [
"Apache-2.0"
] |
% File "sortlicl.tu". % A SortedList class.
% The list contains a set of items each consisting of a key and info.
% New items are entered so that the list is kept sorted.
% Existing items can be looked up, changed, or deleted.
% The list can be printed in sorted order.
unit
class SortedList
inherit List in "listcl.... | Turing | 5 | null-dev/Hyper | package/Examples/Programming Concepts and Paradigms/chap11/sortlicl.tu | [
"MIT"
] |
<html>
<head>
<style>
<?php include(__DIR__ . '/../../../public/assets/css/ansi-colors.css'); ?>
body { font-family: arial, verdana, sans-serif; font-size: 15px; }
header { font-size: 25px; margin-bottom: 15px; }
</style>
</head>
<body>
<div style=... | HTML+PHP | 3 | studio201/PHPCI | PHPCI/View/Email/layout.phtml | [
"BSD-2-Clause"
] |
<?Lassoscript
// Last modified 5/29/08 by ECL, Landmann InterActive
/*
Tagdocs;
{Tagname= LI_FileStream }
{Description= Stream a file to the browser }
{Author= Adam Randall }
{AuthorEmail= }
{ModifiedBy= Eric Landmann }
{ModifiedByEmail= support@iterate.ws }
{Date= 9/10/2004 }
{Usage= LI_FileStream... | Lasso | 5 | subethaedit/SubEthaEd | Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/LI_Filestream.lasso | [
"MIT"
] |
server {
listen 80;
server_name www.example.com example.com;
root /var/www/www.example.com/web;
if ($http_host != "www.example.com") {
rewrite ^ http://www.example.com$request_uri permanent;
}
location = /favicon.ico {
log_not_found off;
... | ApacheConf | 3 | tsrivishnu/certbot | certbot-compatibility-test/nginx/nginx-roundtrip-testdata/simplegroupware/sites-available/www.example.com.vhost | [
"Apache-2.0"
] |
i=:read_string_to_parse_to_number o=0 n=1 goto(i=="")*18+(i!="")*2 // Input, setup, check for empty string
a=i---i goto(a=="1")*2+(a=="2")*3+(a=="3")*4+(a=="4")*5+(a=="5")*6+4 // Consume 1 character of input, jump to characters [12345], fall through due to runtime error is string is empty
:result=o goto 20 ... | LOLCODE | 0 | Dude112113/Yolol | YololEmulator/Scripts/jump_table_number_parser.lol | [
"MIT"
] |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/19... | XSLT | 2 | Bpowers4/turicreate | src/external/boost/boost_1_68_0/tools/boostbook/xsl/index.xsl | [
"BSD-3-Clause"
] |
package com.baeldung.batchinserts;
import com.baeldung.batchinserts.model.School;
import com.baeldung.batchinserts.model.Student;
public class TestObjectHelper {
public static School createSchool(int nameIdentifier) {
School school = new School();
school.setName("School" + (nameIdentifier + 1));
... | Java | 4 | DBatOWL/tutorials | persistence-modules/spring-data-jpa-crud/src/test/java/com/baeldung/batchinserts/TestObjectHelper.java | [
"MIT"
] |
package org.openapitools.model
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import java.util.ArrayList
import java.util.List
import io.micronaut.test.extensions.spock.annotation.MicronautTest
import spock.lang.Specification
import jakarta.inject.Inject
/**
* Model tests for F... | Groovy | 4 | JigarJoshi/openapi-generator | samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/FileSchemaTestClassSpec.groovy | [
"Apache-2.0"
] |
{% block content %}three{% endblock %}
| HTML | 1 | jpmallarino/django | tests/template_tests/relative_templates/three.html | [
"BSD-3-Clause",
"0BSD"
] |
using AMQPClient
const VIRTUALHOST = "/"
const HOST = "127.0.0.1"
function receive()
# 1. Create a connection to the localhost or 127.0.0.1 of virtualhost '/'
connection(; virtualhost=VIRTUALHOST, host=HOST) do conn
# 2. Create a channel to send messages
channel(conn, AMQPClient.UNUSED_CHANNEL... | Julia | 5 | muhammadali8767/rabbit_php | julia/worker.jl | [
"Apache-2.0"
] |
INSERT INTO `binary` VALUES
( 0, x'ee72ae0aef354c5d94ffe82f696af30d'),
( 1, x'2daD56480dbd4a00a1aed85a3fbc6c3d'),
( 2, x'a35B4b77c45349d79faa41041efad77b'),
( 3, x'950A780f93b840109a97a8c60304ef69'),
( 4, x'73dA4e0f11714304b781c2339e5c3973'),
( 5, x'0a3C47cc54ea4ce3bb917006985bf31a'),
( 6, x'd03A918aa5454cfd8400cc37490... | SQL | 2 | cuishuang/tidb | br/tests/lightning_various_types/data/vt.binary.sql | [
"Apache-2.0"
] |
<?xml version="1.0" encoding="UTF-8"?>
<deprecations remainingCount="0"/>
| XML | 0 | simonberger/symfony | src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/deprecations_empty.xml | [
"MIT"
] |
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: gradle.eclass
# @MAINTAINER:
# Vadim Misbakh-Soloviov <mva@gentoo.org>
# @AUTHOR:
# VAdim Misbakh-Soloviov <mva@gentoo.org>
# @BLURB: gradle wrapper
# @DESCRIPTION:
# Trying to make gradle build to work.
# For... | Gentoo Eclass | 4 | msva/mva-overlay | eclass/gradle.eclass | [
"Unlicense"
] |
<mt:IfPingsActive>
<aside id="trackbacks" class="feedback">
<h2><$mt:EntryTrackbackCount singular="<__trans phrase="TrackBack">" plural="<__trans phrase="TrackBacks">" none="<__trans phrase="TrackBacks">"$></h2>
<mt:IfPingsAccepted>
<p id="trackback-url"><__trans phrase="TrackBack URL: [_1]" params="<$mt:EntryTra... | MTML | 4 | movabletype/mt-theme-eiger | themes/eiger/templates/trackbacks.mtml | [
"MIT"
] |
require "spec"
require "yaml"
private def it_parses(string, expected, file = __FILE__, line = __LINE__)
it "parses #{string.inspect}", file, line do
YAML::Schema::Core.parse(string).should eq(expected)
end
end
private def it_raises_on_parse(string, message, file = __FILE__, line = __LINE__)
it "raises on pa... | Crystal | 4 | n00p3/crystal | spec/std/yaml/schema/core_spec.cr | [
"Apache-2.0"
] |
#include "caffe2/operators/spatial_batch_norm_op.h"
#include "caffe2/operators/spatial_batch_norm_op_impl.cuh"
namespace caffe2 {
REGISTER_CUDA_OPERATOR(SpatialBN, SpatialBNOp<CUDAContext>);
REGISTER_CUDA_OPERATOR(SpatialBNGradient, SpatialBNGradientOp<CUDAContext>);
} // namespace caffe2
| Cuda | 3 | Hacky-DH/pytorch | caffe2/operators/spatial_batch_norm_op.cu | [
"Intel"
] |
name: hol-coalgebras
version: 1.0
description: HOL coalgebras theories (before re-interpretation)
author: HOL OpenTheory Packager <opentheory-packager@hol-theorem-prover.org>
license: GPL
main {
import: llist
import: lbtree
import: path
}
llist {
article: "llist.ot.art"
}
lbtree {
import: llist
article: "lb... | Isabelle | 3 | dwRchyngqxs/HOL | src/coalgebras/hol4-coalgebras-unint.thy | [
"BSD-3-Clause"
] |
{-
Swagger Petstore
This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
OpenAPI spec versio... | Elm | 5 | derBiggi/swagger-codegen | samples/client/petstore/elm/src/Request/Store.elm | [
"Apache-2.0"
] |
@import url('other.css');
.test {
color: red;
}
| CSS | 3 | blomqma/next.js | test/integration/css-fixtures/npm-import-nested/node_modules/example/test.css | [
"MIT"
] |
//===--- DebugUtils.cpp ---------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | C++ | 4 | lwhsu/swift | lib/SIL/DebugUtils.cpp | [
"Apache-2.0"
] |
gobench -package=./hugolib -bench="BenchmarkSiteNew/Deep_content_tree" | Shell | 2 | jlevon/hugo | benchbep.sh | [
"Apache-2.0"
] |
<VirtualHost 192.168.1.100:80>
ServerName example.server.com
DocumentRoot /var/www/myApp
CustomLog /var/log/apache2/myApp-access.log combined
ErrorLog /var/log/apache2/myApp-error.log
LogLevel warn
ServerSignature Off
# PyAMF gateway
<Location /flashse... | ApacheConf | 3 | elmordo/Py3AMF | doc/tutorials/examples/apache/mod_python.vhost | [
"MIT"
] |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!319 &31900000
AvatarMask:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Upper Body
m_Mask: 0000000001000000010000000000000000000000010000000100000001000000010000000000000000000000... | Mask | 2 | DBestBean/ETandGF | Unity/Assets/Plugins/Animancer/Examples/07 Layers/Upper Body.mask | [
"MIT"
] |
@0x9663f4dd604afa35;
interface HelloWorld {
struct HelloRequest {
name @0 :Text;
}
struct HelloReply {
message @0 :Text;
}
sayHello @0 (request: HelloRequest) -> (reply: HelloReply);
} | Cap'n Proto | 4 | tomkris/capnproto-rust | capnp-rpc/examples/hello-world/hello_world.capnp | [
"MIT"
] |
import { extendTest } from '../../../tests/shared/demoTest';
extendTest('image');
| TypeScript | 1 | fanerge/ant-design | components/image/__tests__/demo-extend.test.ts | [
"MIT"
] |
(%
% rowl - 1st generation
% Copyright (C) 2010 nineties
%
% $Id: main.rl 2010-10-19 14:04:36 nineties $
%);
(% rowl-core interpreter %);
include(stddef, code);
export main;
(% source file name %);
interpret: (p0) {
allocate(1);
init_evaluator();
init_builtin_objects();
x0 = parse(p0);
wh... | Ragel in Ruby Host | 3 | waldo2590/amber-1 | amber/main.rl | [
"MIT"
] |
// name: fauReverb.ck
// desc: demo of Faust chugin in action!
// instantiate and connect faust => ck
Faust fck => Faust reverb => dac;
// evaluate Faust synth
fck.eval(`
freq=nentry("freq",440,50,2000,0.01);
process = os.sawtooth(freq);
`);
// evaluate Faust reverb
reverb.eval(`
process = _ <: dm.zita_light;
`);... | ChucK | 4 | ccdarabundit/chugins | Faust/examples/fauReverb.ck | [
"MIT"
] |
"%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe" resources\winsetup\YarnSetup.wixproj /p:Configuration=Release
| Batchfile | 1 | Bhanditz/yarn | scripts/build-windows-installer.bat | [
"BSD-2-Clause"
] |
/****************************************************************************
*
* (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
***************************************... | QML | 4 | vincentdavoust/qgroundcontrol | src/MissionManager/MissionCommandTreeEditorTestWindow.qml | [
"Apache-2.0"
] |
# Upstream server (Puma socket)
upstream bounga {
server unix:/srv/web/drail240a/shared/sockets/puma.sock;
}
# Redirect non-www requests to www host
server {
server_name 127.0.0.1;
return 301 $scheme://www.127.0.0.1$request_uri;
}
# Config for vhost
server {
listen 1224;
server_name 127.0.0.1;
access_log... | ApacheConf | 4 | dgleba/vamp206a | rails/older/drail240a3.conf.nginx.vhost | [
"MIT",
"Unlicense"
] |
<cfcomponent>
<cffunction name="foo">
<cfset var streetname='123'/>
<cfset tokenizedAddress["streetName"] = streetName>
<cfset tokenizedAddress["streetNumber"] = 456>
<cfscript>
tokenizedAddress["streetName"] = streetName;
tokenizedAddress2["streetNumber"] = 456;
</cfscript>
</cffunction>
</... | ColdFusion CFC | 1 | tonym128/CFLint | src/test/resources/com/cflint/tests/VarScoper/structUse2_404.cfc | [
"BSD-3-Clause"
] |
frequency,raw,error,smoothed,error_smoothed,equalization,parametric_eq,fixed_band_eq,equalized_raw,equalized_smoothed,target
20.00,-7.94,-7.97,-7.94,-7.97,6.00,5.78,1.66,-1.94,-1.94,0.03
20.20,-7.80,-7.88,-7.80,-7.88,6.00,5.83,1.71,-1.80,-1.80,0.08
20.40,-7.65,-7.79,-7.65,-7.78,6.00,5.88,1.76,-1.65,-1.65,0.13
20.61,-7.... | CSV | 2 | vinzmc/AutoEq | results/innerfidelity/innerfidelity_harman_over-ear_2018/Aiaiai TMA-1 Studio/Aiaiai TMA-1 Studio.csv | [
"MIT"
] |
package com.baeldung.reducingIfElse;
public class Modulo implements Operation {
@Override public int apply(int a, int b) {
return a % b;
}
}
| Java | 3 | DBatOWL/tutorials | patterns/design-patterns-creational/src/main/java/com/baeldung/reducingIfElse/Modulo.java | [
"MIT"
] |
<h2>Cookie.ClientName {{.Cookie "clientname"}}</h2> | HTML | 1 | dandycheung/caddy | caddytest/integration/testdata/cookie.html | [
"Apache-2.0"
] |
// 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 "gstreamerenv.hpp"
#include "gstreamerptr.hpp"
#ifdef HAVE_GSTREAMER
#in... | C++ | 5 | pazamelin/openvino | thirdparty/fluid/modules/gapi/src/streaming/gstreamer/gstreamerenv.cpp | [
"Apache-2.0"
] |
#!MC 1410
#Allows to probe over time by entering the X,Y,Z coordinates of the probe
$!PROMPTFORTEXTSTRING |xPosition| INSTRUCTIONS = "Enter X position of the probe."
$!PROMPTFORTEXTSTRING |yPosition| INSTRUCTIONS = "Enter Y position of the probe."
$!PROMPTFORTEXTSTRING |zPosition| INSTRUCTIONS = "Enter Z position of t... | MAXScript | 3 | Mehrdadj93/handyscripts | macro/PreciseProbeOverTime.mcr | [
"MIT"
] |
// Tencent is pleased to support the open source community by making Mars available.
// Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
// Licensed under the MIT License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License... | Objective-C++ | 3 | jonetomtom/mars | mars/comm/objc/ThreadOperationQueue.mm | [
"BSD-2-Clause",
"Apache-2.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.