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 |
|---|---|---|---|---|---|
/*
* Copyright (c) 2021, [your name here] <[your email here]>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibCrypto/Authentication/HMAC.h>
#include <LibCrypto/Hash/MD5.h>
#include <LibCrypto/Hash/SHA1.h>
#include <LibCrypto/Hash/SHA2.h>
#include <LibTest/TestCase.h>
#include <cstring>
TEST_CASE(test_hm... | C++ | 4 | r00ster91/serenity | Tests/LibCrypto/TestHMAC.cpp | [
"BSD-2-Clause"
] |
{-
Elm generator test
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 1.0.0
NOTE: This file is auto generated by the openapi-generator.
https://github.com/openapitools/openapi-generator.git
DO NOT EDIT T... | Elm | 5 | therockstorm/openapi-generator | samples/openapi3/client/elm/src/Api/Data.elm | [
"Apache-2.0"
] |
pong = nil
done = false
Parent = Thread current
ping = Actor spawn: {
loop: {
count = Actor receive
"." print
{ count println; done = true; break } if: (count > 1000)
pong ! (count + 1)
}
Parent run
}
pong = Actor spawn: {
loop: {
count = Actor receive
"-" print
{ count println; do... | Fancy | 3 | bakkdoor/fancy | examples/actors_primitive.fy | [
"BSD-3-Clause"
] |
/*****************************************************************************
*
* QUERY:
* LOAD "filename"
*
*****************************************************************************/
LoadStmt: LOAD file_name
{
PGLoadStmt *n = makeNode(PGLoadStmt);
n->filename = $2;
n->load_type = PG_LO... | Yacc | 4 | AldoMyrtaj/duckdb | third_party/libpg_query/grammar/statements/load.y | [
"MIT"
] |
1728 1728 19896
0 0 1
0 8 -1
0 33 -1
0 202 -1
1 1 1.25
1 6 -1
1 8 -0.25
1 34 -0.75
1 203 -1
2 2 1.25
2 7 -1
2 35 -0.75
2 201 -1
2 202 -0.25
3 3 1
3 8 1
3 14 -1
3 36 -1
3 208 -1
4 4 1.25
4 6 1
4 8 -0.25
4 12 -1
4 14 -0.25
4 37 -0.75
4 209 -1
5 5 1.25
5 7 1
5 13 -1
5 38 -0.75
5 207 -1
5 208 -0.25
6 1 -1
6 4 1
6 6 2
6 12 ... | IDL | 0 | ricortiz/OpenTissue | demos/data/dlm/1728/A.dlm | [
"Zlib"
] |
cron:
- description: "daily github stats tracking job"
url: /daily
schedule: every 24 hours
| YAML | 3 | mpminardi/grpc | tools/gcp/github_stats_tracking/cron.yaml | [
"Apache-2.0"
] |
<$_ var entityName = e.name _$>
<$_ var lEntityName = v.decapitalize(e.name) _$>
export class Db<$= entityName $>Service {
constructor(
@InjectRepository(<$= entityName $>)
private readonly <$= lEntityName $>Repository: Repository<<$= entityName $>>,
) { }
/**
* Find all <$= lEntityNa... | MTML | 5 | belgac/mtml | examples/db-service.template.mtml | [
"MIT"
] |
; ModuleID = 'intrinsics.go'
source_filename = "intrinsics.go"
target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
target triple = "wasm32--wasi"
declare noalias nonnull i8* @runtime.alloc(i32, i8*, i8*)
define hidden void @main.init(i8* %context, i8* %parentHandle) unnamed_addr {
entry:
ret void
}
define hidde... | LLVM | 4 | JAicewizard/tinygo | compiler/testdata/intrinsics-wasm.ll | [
"Apache-2.0"
] |
/*
* vu1Triangle.vcl
*
* Copyright (C) 2004 Jesper Svennevid, Daniel Collin
*
* Licensed under the AFL v2.0. See the file LICENSE included with this
* distribution for licensing terms.
*
*/
.syntax new
.name vu1Triangle
.vu
.init_vf_all
.init_vi_all
--enter
--endenter
lq worldToScreenRow0... | VCL | 3 | jsvennevid/openvcl | examples/triangle/vu1Triangle.vcl | [
"AFL-2.0"
] |
/* Copyright 2019 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 | yage99/tensorflow | tensorflow/core/profiler/convert/op_stack.h | [
"Apache-2.0"
] |
--TEST--
Check that reference detection works properly
--FILE--
<?php
$v00 = $v01 = $v32 = $v33 = 0;
test(p32: $v32, p33: $v33, p00: $v00, p01: $v01);
echo "$v00 $v01 $v32 $v33\n";
$v = [0 => 0, 1 => 0, 32 => 0, 33 => 0];
test(p32: $v[32], p33: $v[33], p00: $v[0], p01: $v[1]);
echo "$v[0] $v[1] $v[32] $v[33]\n";
fun... | PHP | 3 | NathanFreeman/php-src | Zend/tests/named_params/references.phpt | [
"PHP-3.01"
] |
<div>
<h1>hello world</h1>
<a [routerLink]="['lazy']">lazy</a>
<router-outlet></router-outlet>
</div>
| HTML | 3 | KRAHUL121/AngularCliExp | tests/e2e/assets/webpack/test-server-app-ng5/app/app.component.html | [
"MIT"
] |
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI = " \
file://server-connection-check;subdir=${PN}-${PV} \
file://LICENSE;subdir=${PN}-${PV} \
"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
inherit mender-state-scripts
ALLOW_EMPT... | BitBake | 3 | tjwebb/community | tutorials/cloud-iot-mender-ota/image/meta-gcp-iot/recipes-mender/mender-gcp-delay-server-connection/mender-gcp-delay-server-connection_1.0.bb | [
"Apache-2.0",
"CC-BY-4.0"
] |
#!/usr/bin/env perl6
use v6;
my $string = 'I look like a # comment!';
if $string eq 'foo' {
say 'hello';
}
regex http-verb {
'GET'
| 'POST'
| 'PUT'
| 'DELETE'
| 'TRACE'
| 'OPTIONS'
| 'HEAD'
}
# a sample comment
say 'Hello from Perl 6!'
#`{
multi-line comment!
}
say 'here';
#`... | Perl6 | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Perl 6/test.p6 | [
"MIT"
] |
#!/usr/bin/perl -wT
use strict;
print "Content-Type: application/x-blink-test-plugin\n";
print "Content-Security-Policy: object-src 'none'\n";
print "\n";
print "This is a mock plugin. It does pretty much nothing.";
| Perl | 2 | zealoussnow/chromium | third_party/blink/web_tests/http/tests/plugins/resources/mock-plugin-with-csp.pl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
theory Escrow
imports
Dispatcher
begin
(*
pragma solidity ^0.4.0;
contract Escrow {
address buyer;
address seller;
address arbiter;
uint256 amount;
function Escrow(address _buyer, address _seller, uint256 _amount) public {
require (amount > 0 && _buyer != 0 && _seller != 0);
... | Isabelle | 5 | pirapira/eth-isabelle | example/Escrow.thy | [
"Apache-2.0"
] |
// run-pass
// aux-build:static-function-pointer-aux.rs
extern crate static_function_pointer_aux as aux;
fn f(x: isize) -> isize { x }
pub fn main() {
assert_eq!(aux::F(42), -42);
unsafe {
assert_eq!(aux::MutF(42), -42);
aux::MutF = f;
assert_eq!(aux::MutF(42), 42);
aux::MutF ... | Rust | 3 | Eric-Arellano/rust | src/test/ui/statics/static-function-pointer-xc.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
class Generic {
var x;
}
var inst = new borrowed Generic(10);
writeln(inst.type < Generic);
writeln(inst.type > Generic);
writeln(inst.type < borrowed Generic);
writeln(inst.type > borrowed Generic);
| Chapel | 3 | jhh67/chapel | test/types/typeFunctions/isSubtype-12130.chpl | [
"ECL-2.0",
"Apache-2.0"
] |
vcl 4.0;
backend default {
.host = "localhost";
.port = "8080";
}
acl purger {
"localhost";
"203.0.113.100";
"2001:DB8:0000:0000:0000:1234";
}
sub vcl_recv {
if (client.ip != "127.0.0.1" && req.http.host ~ "example-over-https.com") {
set req.http.x-redir = "https://www.example-over-https.com" + req.url;
re... | VCL | 4 | bakatz/docs | docs/assets/custom.vcl | [
"CC-BY-4.0"
] |
# $NetBSD: majors.arc,v 1.13 2003/12/10 02:04:00 jmc Exp $
#
# Device majors for arc
#
device-major cons char 0
device-major swap char 1 block 1
device-major ctty char 2
device-major mem char 3
device-major pts char 4 pty
device-major ptc char 5 pty
device-major log char 6
device-major filedesc char 7
dev... | Arc | 2 | MarginC/kame | netbsd/sys/arch/arc/conf/majors.arc | [
"BSD-3-Clause"
] |
import io.vertx.ceylon.platform {
Verticle,
Container
}
import io.vertx.ceylon.core {
Vertx
}
import io.vertx.ceylon.core.net {
NetSocket
}
import io.vertx.ceylon.core.stream {
Pump
}
shared class EchoServer() extends Verticle() {
shared actual void start(Vertx vertx, Container container) {
vertx.cr... | Ceylon | 4 | vietj/vertx-examples | src/raw/ceylon/echo/EchoServer.ceylon | [
"Apache-2.0"
] |
exec("swigtest.start", -1);
try
e = new_Engine();
catch
swigtesterror();
end
try
a = new_A();
catch
swigtesterror();
end
// TODO: test write method
exec("swigtest.quit", -1);
| Scilab | 2 | kyletanyag/LL-Smartcard | cacreader/swig-4.0.2/Examples/test-suite/scilab/abstract_typedef_runme.sci | [
"BSD-3-Clause"
] |
---
title: "Introduction to STL Forecasting"
output: html_notebook
---
In this notebook we present a [decomposition model](https://fabletools.tidyverts.org/reference/decomposition_model.html) that combines STL (Seasonal and Trend decomposition using Loess) and ETS/ARIMA with [tidyverts](https://tidyverts.org/). From t... | RMarkdown | 4 | datenzauberai/btsa | R/intro_forecasting/basel_stl_forecasting.rmd | [
"MIT"
] |
#!/usr/bin/env wisp
(console.log "Hello from Wisp!")
(console.log process.argv)
(console.log "Express library present?" (if (require "express") "express exists" "express missing"))
| wisp | 3 | namsral/piku | examples/nodejs-wisp/hello.wisp | [
"MIT"
] |
public class FromHeaderBinding : System.Web.Http.Controllers.HttpParameterBinding
{
private readonly string _name;
public FromHeaderBinding(System.Web.Http.Controllers.HttpParameterDescriptor parameter, string headerName)
: base(parameter)
{
if (string.IsNullOrEmpty(headerName)) throw new ... | Liquid | 4 | SeanMollet/NSwag | src/NSwag.CodeGeneration.CSharp/Templates/Controller.AspNet.FromHeaderBinding.liquid | [
"MIT"
] |
Rem
bbdoc: MaxGUI Drivers/CocoaMaxGUI
about:
This Module provides a Cocoa based #MaxGUI driver For MacOS.
See version.txt for history
End Rem
Module MaxGUI.CocoaMaxGUI
Strict
ModuleInfo "Version: 1.56"
ModuleInfo "Author: Simon Armstrong, Seb Hollington"
ModuleInfo "License: zlib/libpng"
?MacOs
Import "cocoagui.bmx... | BlitzMax | 2 | jabdoa2/blitzmax | mod/maxgui.mod/cocoamaxgui.mod/cocoamaxgui.bmx | [
"Zlib"
] |
// Declaration file daikon-output/DataStructures/QueueAr.decls rewritten by ComparablePairsDescFileReader
// Wed Jun 04 20:58:04 EDT 2003
VarComparability
implicit
// Declarations for DataStructures/QueueAr.java
// Written Wed Jun 4 20:57:04 2003
ListImplementors
java.util.List
DECLARE
DataStructures.QueueAr.Queu... | BlitzBasic | 2 | eurecom-s3/invscov | daikon/java/daikon/test/split/targets/QueueAr.decls | [
"Apache-2.0"
] |
{#
# Copyright (c) 2019 Deciso B.V.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions... | Volt | 4 | Kipjr/core | src/opnsense/mvc/app/views/OPNsense/Core/halt.volt | [
"BSD-2-Clause"
] |
>~:"$"-#v_$ v
^ < > v
> :"i"-|
> > v_v#:$ < <
|-"e":< < >$:"e"-| >v
|-"i":$< >$:"c"-|
|-"c":$< v^ <
v <
>"eurt" v
> ... | Befunge | 0 | tlgs/dailyprogrammer | Befunge/easy/e363.befunge | [
"Unlicense"
] |
@aws
runtime nodejs14.x
timeout 14
# concurrency 1
# memory 1152
| Arc | 1 | actsone8/sandbox | test/mock/normal/src/http/get-nodejs14_x/config.arc | [
"Apache-2.0"
] |
// @declaration: true
// @target: es6
export default class C {
} | TypeScript | 2 | nilamjadhav/TypeScript | tests/cases/compiler/declarationEmitDefaultExport1.ts | [
"Apache-2.0"
] |
// script-trianglewave.click
// A Script element is used to control a RatedSource element's rate
// according to a triangle wave. Watch the result by running
// click -p9999 script-trianglewave.click && clicky -p9999
// See also the other script-*wave.click scripts.
s :: RatedSource(RATE 1000)
-> c :: Counter
... | Click | 4 | MacWR/Click-changed-for-ParaGraph | conf/script-trianglewave.click | [
"Apache-2.0"
] |
<!-- #docregion say-hello -->
<p>{{ message }}</p>
<!-- #enddocregion say-hello -->
| HTML | 2 | John-Cassidy/angular | aio/content/examples/what-is-angular/src/app/hello-world-interpolation/hello-world-interpolation.component.html | [
"MIT"
] |
import angular from 'angular';
import controller from './{{dashCase name}}.controller.js'
export const {{camelCase name}} = {
templateUrl: './{{dashCase name}}.html',
controller,
};
angular.module('portainer.{{module}}').component('{{camelCase name}}', {{camelCase name}})
| Handlebars | 4 | WaysonWei/portainer | plop-templates/component.js.hbs | [
"Zlib"
] |
#include "gtest/gtest.h"
#include "reliability/barrier_helper.h"
using namespace ray::streaming;
using namespace ray;
class StreamingBarrierHelperTest : public ::testing::Test {
public:
void SetUp() { barrier_helper_.reset(new StreamingBarrierHelper()); }
void TearDown() { barrier_helper_.release(); }
protecte... | C++ | 4 | firebolt55439/ray | streaming/src/test/barrier_helper_tests.cc | [
"Apache-2.0"
] |
$! File: stage_curl_install.com
$!
$! $Id$
$!
$! This updates or removes the GNV$CURL.EXE and related files for the
$! new_gnu:[*...] directory tree for running the self tests.
$!
$! The files installed/removed are:
$! [usr.bin]gnv$curl.exe
$! [usr.bin]curl-config.
$! [usr.lib]gnv$libcurl.exe
$! [usr.bi... | DIGITAL Command Language | 4 | jjatria/curl | packages/vms/stage_curl_install.com | [
"curl"
] |
a { color: #AABBCCEF } | CSS | 1 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/R6OYU1g_sB_euLV8Yzjw6w/input.css | [
"Apache-2.0"
] |
// +-------------------------+
// ¦ 34 ¦ 21 ¦ 32 ¦ 41 ¦ 25 ¦
// +----+----+----+----+-----¦
// ¦ 14 ¦ 42 ¦ 43 ¦ 14 ¦ 31 ¦
// +----+----+----+----+-----¦
// ¦ 54 ¦ 45 ¦ 52 ¦ 42 ¦ 23 ¦
// +----+----+-... | Grace | 4 | smola/language-dataset | data/github.com/kfrye/cs161/3b544c811350b48261b0d7a6d6ff3b5ed1a8fdca/treasureHunt.grace | [
"MIT"
] |
#include <iostream>
#include <memory>
#include "caffe2/core/module.h"
#include "caffe2/core/operator.h"
#include <gtest/gtest.h>
#include "caffe2/core/logging.h"
// An explicitly defined module, testing correctness when we statically link a
// module
CAFFE2_MODULE(caffe2_module_test_static, "Static module for testing... | C++ | 5 | Hacky-DH/pytorch | caffe2/core/module_test.cc | [
"Intel"
] |
/*
* Copyright 2012-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | 4 | dreamwy9/spring-boot | spring-boot-project/spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/ExtendedGroovyClassLoaderTests.java | [
"Apache-2.0"
] |
/****************************************************************************
*
* (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 | dlech/qgroundcontrol | src/FlightDisplay/ObstacleDistanceOverlayMap.qml | [
"Apache-2.0"
] |
sub Main()
font = createObject("roSGNode", "Font")
print "font node type:" type(font)
print "font node subtype:" font.subtype()
print "font node uri:" font.uri
print "font node size:" font.size
print "font node fallbackGlyph:" font.fallbackGlyph
parent = createObject("roSGNode", "Components... | Brightscript | 3 | lkipke/brs | test/e2e/resources/components/Font.brs | [
"MIT"
] |
var $i i32 align(4) = 987
type $SS1 <struct {
@f1 i32 volatile const,
@f2 i32 align(8),
@f3 i32 const } >
var $iconst1 <[4] [4] i32> const = [ [1007, 707, -273, 75], [0113, 0x4b, 75u, 75l], [75ul, 75lu, 31425926, 60223], [60223, 1619, 30, 314159]]
var $fconst1 <[4] [4] f64 > volatile = [ [1007.0, 707.0, -273.0, ... | Maple | 2 | harmonyos-mirror/OpenArkCompiler-test | test/testsuite/irbuild_test/I0007-mapleall-irbuild-edge-attributes/Main.mpl | [
"MulanPSL-1.0"
] |
signature dpd_pop3_server {
ip-proto == tcp
payload /^\+OK/
requires-reverse-signature dpd_pop3_client
enable "pop3"
tcp-state responder
}
signature dpd_pop3_client {
ip-proto == tcp
payload /(|.*[\r\n])[[:space:]]*([uU][sS][eE][rR][[:space:]]|[aA][pP][oO][pP][[:space:]]|[cC][aA][pP][aA]|[aA][uU][tT][hH]... | Standard ML | 4 | yaplej/bro | scripts/base/protocols/pop3/dpd.sig | [
"Apache-2.0"
] |
// MIR for `try_identity` after SimplifyBranchSame
fn try_identity(_1: Result<u32, i32>) -> Result<u32, i32> {
debug x => _1; // in scope 0 at $DIR/simplify_try.rs:20:17: 20:18
let mut _0: std::result::Result<u32, i32>; // return place in scope 0 at $DIR/simplify_try.rs:20:41: 20:57
l... | Mirah | 3 | mbc-git/rust | src/test/mir-opt/simplify_try.try_identity.SimplifyBranchSame.after.mir | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
CREATE TABLE `tb_upzbnfzylo` (
`col_dppomywdgn` tinyblob,
`col_hybjpvnihc` mediumblob,
`col_nvqsfunmve` set('enum_or_set_0','enum_or_set_1','enum_or_set_2') CHARACTER SET utf8 DEFAULT 'enum_or_set_0',
`col_rvwyvmeidf` enum('enum_or_set_0','enum_or_set_1','enum_or_set_2') CHARACTER SET utf8 NOT NULL DEFAULT 'enu... | SQL | 3 | yuanweikang2020/canal | parse/src/test/resources/ddl/alter/test_73.sql | [
"Apache-2.0"
] |
{%- macro related_bar(related_links) -%}
<ul>
{%- for link in related_links -%}
<li><a href="{{ url(link.url) }}" title="{{ link.title|striptags }}">{{ link.text }}</a></li>
{%- endfor -%}
</ul>
{%- endmacro -%}
{{- related_bar(links) -}}
| Volt | 4 | tidytrax/cphalcon | tests/_data/fixtures/views/macro/related_links.volt | [
"BSD-3-Clause"
] |
================================================================================================
projection on wide table
================================================================================================
OpenJDK 64-Bit Server VM 1.8.0_282-b08 on Linux 5.4.0-1043-azure
Intel(R) Xeon(R) CPU E5-2673 v4 @ 2... | Text | 0 | akhalymon-cv/spark | sql/core/benchmarks/WideTableBenchmark-results.txt | [
"Apache-2.0"
] |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// - A couple helper functions for serializing/deserializing a KeyMapping
// to/from json.
//
// Author(s):
// - Mike Griese - May 2019
#include "pch.h"
#include "ActionMap.h"
#include "ActionAndArgs.h"
#include "KeyChordSerializat... | C++ | 4 | rasc0l/terminal | src/cascadia/TerminalSettingsModel/ActionMapSerialization.cpp | [
"MIT"
] |
using Uno;
using Uno.UX;
using Fuse; | Uno | 0 | mortend/fuse-studio | Source/Simulator/Tests/UXFeaturesTestApp/UXCascade/UXCascade.uno | [
"MIT"
] |
Scriptname _DE_ShelterDetectSensorScript extends ObjectReference
ObjectReference property _DE_ShelterDetectOrigin auto
Spell property _DE_ShelterDetectBeam auto
GlobalVariable property _DE_fShelterTime auto
GlobalVariable property _DE_fLastShelterTime auto
Event OnHit(ObjectReference akAggressor, Form akSource, Proje... | Papyrus | 4 | chesko256/Campfire | Scripts/Source/_DE_ShelterDetectSensorScript.psc | [
"MIT"
] |
################################################################
## Title: Data Science For Database Professionals
## Description: Building the Telco Churn Model
## Author: Microsoft
################################################################
#######################################################################... | R | 4 | manikanth/sql-server-samples | samples/features/r-services/telco-customer-churn/R/TelcoChurn-ModelBuilding.r | [
"MIT"
] |
---
is-it-tasty: Yes
---
{{ is-it-tasty }} | Liquid | 0 | binyamin/eleventy | test/stubs/global-dash-variable.liquid | [
"MIT"
] |
GalaxyID,x,y,e1,e2
Galaxy1,3193.45,2863.41,0.066359,-0.031167
Galaxy2,4139.59,168.15,-0.065912,-0.013500
Galaxy3,4139.48,804.80,0.098457,0.112897
Galaxy4,3216.20,1198.34,-0.169122,0.263604
Galaxy5,2664.60,2733.89,0.061180,-0.064954
Galaxy6,848.61,2854.12,0.025839,0.223937
Galaxy7,990.50,1951.80,0.007696,0.262677
Galaxy... | CSV | 2 | jColeChanged/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers | Chapter5_LossFunctions/data/Train_Skies/Train_Skies/Training_Sky78.csv | [
"MIT"
] |
# Tests that Spack detects target when it is the second of two targets
rule cc
command = true
build test check: cc
| Ninja | 2 | kkauder/spack | lib/spack/spack/test/data/ninja/affirmative/test_check/build.ninja | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated with COPASI 4.22 (Build 170) (http://www.copasi.org) at 2018-04-17 16:29:10 UTC -->
<?oxygen RNGSchema="http://www.copasi.org/static/schema/CopasiML.rng" type="xml"?>
<COPASI xmlns="http://www.copasi.org/static/schema" versionMajor="4" versionMinor="22" versionDevel... | Component Pascal | 5 | arakkkkk/PyBNF | examples/yeast_cell_cycle/yeast_manual_peaks.cps | [
"BSD-3-Clause"
] |
<?xml version="1.0" encoding="UTF-8"?>
<opml version="2.0">
<head>
<title>Feeds from RSSAnt [https://rss.anyant.com]</title>
</head>
<body>
% for feed in feeds:
<outline ${ feed['attrs'] }/>
% endfor
</body>
</opml> | Mako | 3 | zuzhi/rssant | rssant_api/resources/opml.mako | [
"BSD-3-Clause"
] |
package universe_test
import "testing"
option now = () => 2030-01-01T00:00:00Z
inData =
"
#datatype,string,long,dateTime:RFC3339,long,string,string
#group,false,false,false,false,true,true
#default,_result,,,,,
,result,table,_time,_value,_field,_measurement
,,0,2018-05-22T19:53:26Z,49,load1,system
,,0,2018-05-2... | FLUX | 4 | geropl/flux | stdlib/universe/map_polymorphism_test.flux | [
"MIT"
] |
Mozilla/5.0 (Linux; Android 5.1; SM-J7008 Build/LMY47O) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.91 Mobile Safari/537.36 OPR/42.8.2246.118317
Mozilla/5.0 (Linux; U; Android 5.1; zh-CN; SM-J7008 Build/LMY47O) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 UCBrowser/11.0.0.818 U3/0.8.0 Mobile Safari/53... | Text | 0 | 5tr1x/SecLists | Fuzzing/User-Agents/operating-platform/samsung-sm-j7008.txt | [
"MIT"
] |
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct Uniforms {
half4 colorGreen;
half4 colorRed;
};
struct Inputs {
};
struct Outputs {
half4 sk_FragColor [[color(0)]];
};
fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], bool _frontF... | Metal | 3 | fourgrad/skia | tests/sksl/shared/ScalarConversionConstructorsES2.metal | [
"BSD-3-Clause"
] |
static const uint32_t in_linear_val[1000] = {
0x3f7ab1e7, 0x3db82c98, 0x3d692bda, 0x3e09703c,
0xbe14ec98, 0xba96fdce, 0xbcea338e, 0x3e549a83,
0x3e1c0c38, 0xbbaa9180, 0x3f80d5db, 0xbaf1d75d,
0x3d017be5, 0x3dc65433, 0x3d9f8e7f, 0x3dcf12ff,
0xbba39036, 0xbe2311a3, 0xbe074df2, 0x3cfc9bd6,
0x3cf2324c... | Max | 1 | psychogenic/zephyr | tests/lib/cmsis_dsp/svm/src/f32.pat | [
"Apache-2.0"
] |
#version 330
// Input vertex attributes (from vertex shader)
in vec3 vertexPos;
in vec2 fragTexCoord;
in vec4 fragColor;
// Input uniform values
uniform sampler2D texture0;
uniform sampler2D texture1;
uniform vec4 colDiffuse;
uniform float divider = 0.5;
out vec4 finalColor;
void main()
{
// Texel color fetchi... | F# | 4 | chrisws/raylib | examples/shaders/resources/shaders/glsl330/color_mix.fs | [
"Zlib"
] |
package {
public class Test {}
}
// Constants
trace("Math.E =", Math.E);
trace("Math.LN10 =", Math.LN10);
trace("Math.LN2 =", Math.LN2);
trace("Math.LOG10E =", Math.LOG10E);
trace("Math.LOG2E =", Math.LOG2E);
trace("Math.PI =", Math.PI);
trace("Math.SQRT1_2 =", Math.SQRT1_2);
trace("Math.SQRT2 =", Math.SQRT2);
trace... | ActionScript | 4 | Sprak1/ruffle | tests/tests/swfs/avm2/math/Test.as | [
"Apache-2.0",
"Unlicense"
] |
mylogger dose loge with 'msg'
| Dogescript | 1 | erinkeith/dogescript | test/spec/dose/loge/user-declared-loge/source.djs | [
"MIT"
] |
$TTL 300
@ IN A 10.1.1.1
bar IN A 10.3.3.3
www.bar IN A 10.4.4.4
a.long.path.of.sub.domains IN A 10.25.25.25
www.a.long.path.of.sub.domains IN A 10.26.26.26
www IN A 10.2.2.2
| DNS Zone | 1 | hosting-de-labs/dnscontrol | pkg/js/parse_tests/029-dextendsub/foo.net.zone | [
"MIT"
] |
/// <reference path="fourslash.ts"/>
////interface IFoo { }
////
////class testClass<T extends IFoo, U, M extends IFoo> {
//// constructor(a:T, b:U, c:M){ }
////}
////
////// Constructor calls
////new testClass</*constructor1*/
////new testClass<IFoo, /*constructor2*/
////new testClass</*constructor3*/>(... | TypeScript | 4 | nilamjadhav/TypeScript | tests/cases/fourslash/genericParameterHelpConstructorCalls.ts | [
"Apache-2.0"
] |
package jadx.tests.integration.invoke;
import org.junit.jupiter.api.Test;
import jadx.core.dex.nodes.ClassNode;
import jadx.tests.api.IntegrationTest;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.hamcrest.MatcherAssert.assertThat;
public class TestInheritedStaticInvoke extends Inte... | Java | 4 | DSYliangweihao/jadx | jadx-core/src/test/java/jadx/tests/integration/invoke/TestInheritedStaticInvoke.java | [
"Apache-2.0"
] |
"""
# Buffered Package
The Buffered package provides two classes, `Writer` and `Reader`, for
writing and reading messages using common encodings. These classes are
useful when dealing with things like network data and binary file
formats.
## Example program
```pony
use "buffered"
actor Main
new create(env: Env) =... | Pony | 5 | presidentbeef/ponyc | packages/buffered/buffered.pony | [
"BSD-2-Clause"
] |
/* $KAME: policy_parse.y,v 1.21 2003/12/12 08:01:26 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
* 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.... | Yacc | 3 | s4-2/scancode-toolkit | tests/cluecode/data/ics/ipsec-tools-src-libipsec/policy_parse.y | [
"Apache-2.0",
"CC-BY-4.0"
] |
@load-sigs ./dpd.sig
@load ./consts
@load ./main
| Bro | 0 | LaudateCorpus1/cs-bro | bro-scripts/dce-rpc/__load__.bro | [
"BSD-2-Clause"
] |
package com.baeldung.annotations;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.jupiter.api.Assertions.assertAll;
public class EmployeeAppli... | Java | 4 | DBatOWL/tutorials | spring-boot-modules/spring-boot-annotations/src/test/java/com/baeldung/annotations/EmployeeApplicationUnitTest.java | [
"MIT"
] |
#pragma once
#include <keyboardmanager/common/Input.h>
#include <keyboardmanager/common/MappingConfiguration.h>
#include <KeyboardManagerState.h>
enum class KeyboardManagerEditorType
{
KeyEditor = 0,
ShortcutEditor,
};
class KeyboardManagerEditor
{
public:
KeyboardManagerEditor(HINSTANCE hInstance);
... | C | 4 | szlatkow/PowerToys | src/modules/keyboardmanager/KeyboardManagerEditor/KeyboardManagerEditor.h | [
"MIT"
] |
{block title}Delete note {$note->name}{/block}
{block page_title}<span>Delete note {$note->name}</span>{/block}
{block body}
<form n:name="deleteNote-form">
<p>Are you sure you want to delete {$note->name}?</p>
<button n:name="confirm" class="button red">Yes, I want to delete this note</button>
<a n:href="detail, $... | Latte | 4 | aleanza/notejam | nette/doctrine/notejam/app/Presenters/templates/Note/delete.latte | [
"MIT"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CETWDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "ETW.h"
ClassCount=3
Class1=CETWApp
Class2=CETWDlg
Class3=CAboutDlg
ResourceCount=5
Resource1=IDD_ABOUTBOX
Resource2=IDR_MAINFRAME
Resou... | Clarion | 2 | oudream/ccxx | test/dump/swdbgbk_src/chap16/ETW/ETW.clw | [
"MIT"
] |
xquery version "1.0";
let $message := "Hello World!"
return <results>
<message>{$message}</message>
</results>
| XQuery | 4 | websharks/ace-builds | demo/kitchen-sink/docs/xquery.xq | [
"BSD-3-Clause"
] |
private use List;
config const testIters = 8;
var lst1: list(int);
for i in 1..testIters do
lst1.append(i);
var lst2 = new list(lst1);
for (x, y) in zip(lst1, lst2) do
assert(x == y);
lst1.clear();
assert(!lst2.isEmpty());
| Chapel | 3 | jhh67/chapel | test/library/standard/List/init/listInitList.chpl | [
"ECL-2.0",
"Apache-2.0"
] |
#!/bin/bash
# Imports and signs dev keys fetched from Keybase, as asserted by the
# Metasploit-Framework development wiki. Requires bash version 3 or so for
# regular expression pattern match
COMMITTER_KEYS_URL='https://raw.githubusercontent.com/wiki/rapid7/metasploit-framework/Committer-Keys.md'
KEYBASE_KEY_URLS=$(
... | Shell | 3 | OsmanDere/metasploit-framework | tools/dev/sign-dev-keys.sh | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
= Documentation for Email Base Feature
The email base feature is automatically loaded when you use a Rodauth feature
that requires sending emails.
== Auth Value Methods
allow_raw_email_token? :: When +hmac_secret+ is used, this allows the use of the raw token. This should only be set to true temporarily during a tr... | RDoc | 4 | monorkin/rodauth | doc/email_base.rdoc | [
"MIT"
] |
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"colab_type": "text",
"id": "ya9j9pyzkyBZ"
},
"source": [
"Copyright 2020 The \"What Can I do Here? A Theory of Affordances In Reinforcement Learning\" Authors. All rights reserved.\n",
"\n",
"Lic... | Jupyter Notebook | 5 | mitchchristow/deepmind-research | affordances_theory/AffordancesInContinuousEnvironment.ipynb | [
"Apache-2.0"
] |
<?php phpinfo(); ?>
| HTML+PHP | 0 | Linuxinet/PayloadsAllTheThings | Upload Insecure Files/Extension PHP/phpinfo.phtml | [
"MIT"
] |
/*
* Copyright 2020 Google Inc. 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 l... | GLSL | 4 | TongYiyi11/FutureClassroomNew | shaders/turbo.glsl | [
"MIT"
] |
*** Setting ***
Suite Setup Log Setup of test case file
Suite Teardown Log Teardown of test case file
Test Setup Log Default setup from test file
Test Teardown Log Default teardown from test file
Force Tags test force
Default Tags test default
Test Timeout 4 h 5 m 6 s
*... | RobotFramework | 4 | bhirsz/robotframework | atest/testdata/core/test_suite_dir_with_init_file/sub_suite_with_init_file/test_cases_1.robot | [
"ECL-2.0",
"Apache-2.0"
] |
PROGRAM_NAME=''
| NetLinx | 0 | amclain/netlinx-workspace | spec/workspace/yaml/single_system/MyClient Conference Room.axs | [
"Apache-2.0"
] |
package {
import GZ.Gpu.Gpu;
import GZ.Sys.Interface.Interface;
import GZ.Input.Key;
import GZ.Sys.MainThreadPlatformMsg;
import GZ.Sys.Interface.Context;
import GZ.Sys.Interface.Window;
import GZ.Sys.System;
import GZ.Base.Rect;
//import GzWindows.Sys.Message.OpContextLink;
public class OpMainThreadPl... | Redcode | 4 | VLiance/GZE | src/SubLib_System/Lib_GzCpcDos/Overplace/OpMainThreadPlatformMsg.cw | [
"Apache-2.0"
] |
/**
* Implementation of the
* $(LINK2 http://www.digitalmars.com/download/freecompiler.html, Digital Mars C/C++ Compiler).
*
* Copyright: Copyright (c) 1985-1998 by Symantec, All Rights Reserved
* Copyright (c) 2000-2017 by Digital Mars, All Rights Reserved
* Authors: $(LINK2 http://www.digital... | D | 3 | the-grue/Compiler | dm/src/dmc/dmcdll.di | [
"BSL-1.0"
] |
<?xml version="1.0"?>
<!DOCTYPE rdf:RDF [
<!ENTITY lumify "http://lumify.io#" >
<!ENTITY owl "http://www.w3.org/2002/07/owl#" >
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
]>... | Web Ontology Language | 4 | wulinyun/lumify | datasets/twitter/ontology/twitter.owl | [
"Apache-2.0"
] |
//This is the solution to http://codeforces.com/contest/897/problem/B
//B. Chtholly's request
#raw "template.cpy"
ll compose(ll half)
sz = 0;
aux = half
res = half
while aux
sz++;
res *= 10
res += aux%10
aux /= 10
return res
int main()
int k, p
cin >> k >> p
ll sum = 0
ll half = 1
while k--
sum +=... | COBOL | 4 | saviour07/CPY | Examples/Contest problems/897B. Chtholly's request/b.cpy | [
"MIT"
] |
e="/119/111/116/21/23/27/212/213/217/31/314/319/42/46/47/413/415/54/5"
e+="7/59/63/69/613/76/712/715/717/84/814/818/93/914/916/105/107/1014/"
e+="1015/1018/114/118/1116/1119/124/126/1210/131/132/138/1310/1316/13"
e+="19/1413/1418/1419/151/152/154/1511/1512/1516/1519/166/171/173/177"
e+="/1710/182/186/1813/1815/191/"s=... | LOLCODE | 0 | Dude112113/Yolol | YololEmulator/Scripts/atanimpossible.lol | [
"MIT"
] |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;... | AutoHotkey | 3 | Thou-X/dotfiles | Windows/overrides.ahk | [
"MIT"
] |
# Set up env variables for testing
export AIO_NGINX_HOSTNAME=$TEST_AIO_NGINX_HOSTNAME
export AIO_NGINX_PORT_HTTP=$TEST_AIO_NGINX_PORT_HTTP
export AIO_NGINX_PORT_HTTPS=$TEST_AIO_NGINX_PORT_HTTPS
export AIO_ARTIFACT_PATH=$TEST_AIO_ARTIFACT_PATH
export AIO_BUILDS_DIR=$TEST_AIO_BUILDS_DIR
export AIO_DOMAIN_N... | Shell | 3 | coreyscherbing/angular | aio/aio-builds-setup/dockerbuild/scripts-sh/test-env.sh | [
"MIT"
] |
// setjmp.hb
// sizeof(jmp_buf)==156 on Linux/i386/glibc2.3.
typedef char[156] jmp_buf;
typedef char[156] sigjmp_buf;
extern int setjmp(jmp_buf buf);
extern int sigsetjmp(sigjmp_buf buf, int savesigs);
extern void longjmp(jmp_buf buf, int value);
extern void siglongjmp(sigjmp_buf buf, int value);
| Harbour | 3 | ueki5/cbc | import/setjmp.hb | [
"Unlicense"
] |
/*
* Copyright (c) 2020, Nico Weber <thakis@chromium.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Format.h>
#include <AK/StdLibExtras.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
const char* const g_usage = R"(Usage:
seq [-h|--help]
seq LAST
seq F... | C++ | 4 | r00ster91/serenity | Userland/Utilities/seq.cpp | [
"BSD-2-Clause"
] |
# 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 applica... | Python | 4 | EricRemmerswaal/tensorflow | tensorflow/python/distribute/collective_util_test.py | [
"Apache-2.0"
] |
--
-- Copyright 2021 Apollo 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 agreed to i... | SQL | 2 | lff0305/apollo | apollo-biz/src/test/resources/sql/accesskey-test.sql | [
"Apache-2.0"
] |
insert into tb values (6, 'b368aa46', 2278774058112363670);
insert into tb values (10, '2f7740bb', 5139107663487363545);
insert into tb values (2, '2f7740bb', 4697995520468569116);
insert into tb values (11, 'e11736bd', 2245277262894081901);
insert into tb values (9, 'ab1039d4', 527717207532938984);
insert into tb valu... | SQL | 2 | WizardXiao/tidb | br/tests/lightning_duplicate_detection/data/dup_detect.tb.0.sql | [
"Apache-2.0"
] |
@import "ui-variables";
.salesforce-welcome {
padding: 40px;
text-align: center;
h2 {
margin-top: -10px;
}
p {
margin: 15px auto;
width: 500px;
}
}
| Less | 4 | cnheider/nylas-mail | packages/client-app/internal_packages/nylas-private-salesforce/stylesheets/salesforce-welcome-view.less | [
"MIT"
] |
module.exports = [[/only differs in casing/, /a\.js/, /A\.js/]];
| JavaScript | 2 | 1shenxi/webpack | test/configCases/errors/case-emit/errors.js | [
"MIT"
] |
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "IFSharp"
#define MyAppVersion "3.0"
#define MyAppPublisher "F# Community"
#define MyAppURL "https://github.com/fsprojects/IfSharp"
#define MyAppExeName "ifsharp.exe"
#define B... | Inno Setup | 4 | rudihorn/IfSharp | ifsharpsetup.iss | [
"BSD-3-Clause"
] |
such foo
shh 1
wow
woof foo
| Dogescript | 0 | erinkeith/dogescript | test/spec/exports/assignment/object/source.djs | [
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<!-- ******************************************************************* -->
<!-- -->
<!-- © Copyright IBM Corp. 2010, 2012 -->
<!-- ... | XPages | 4 | jesse-gallagher/XPagesExtensionLibrary | extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.controls/src/com/ibm/xsp/extlib/config/raw-extlib-dojo-base.xsp-config | [
"Apache-2.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.