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 |
|---|---|---|---|---|---|
Written by Bertram Felgenhauer
>---->-->+>++++>++>+>+>+>+>-->->->>>>->-->-->-->-->->>+>-->->>>>>>+>--->++>>>>>>
++>->>>>>>>>>>>>>>>+>>>>++>->>>>+>--->++>--->--->--->++>+>+>-->->->->++++>+>>+>+
>>++>->->-->->>>>>+>>++>>>>>>-->-->+>+>>->->>++>->>>+>++>->>++++>>>+>+>-->->->>>
>>>>>>>>+>+>--->++>>>>>>>->->-->+>++>+>+>-->-... | Brainfuck | 1 | RubenNL/brainheck | examples/quine/quine-550.bf | [
"Apache-2.0"
] |
digraph Cov_0_3 {
graph [fontname="Courier, monospace"];
node [fontname="Courier, monospace"];
edge [fontname="Courier, monospace"];
bcb3__Cov_0_3 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">bcb3</td></tr><tr><td align="left" b... | Graphviz (DOT) | 3 | ohno418/rust | src/test/mir-opt/coverage_graphviz.main.InstrumentCoverage.0.dot | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
#include <torch/nn/modules/embedding.h>
#include <torch/types.h>
#include <torch/utils.h>
#include <torch/nn/init.h>
#include <cstddef>
#include <ostream>
#include <utility>
#include <vector>
namespace F = torch::nn::functional;
namespace torch {
namespace nn {
EmbeddingImpl::EmbeddingImpl(const EmbeddingOptions& o... | C++ | 4 | Hacky-DH/pytorch | torch/csrc/api/src/nn/modules/embedding.cpp | [
"Intel"
] |
--TEST--
yield from parses too greedily
--FILE--
<?php
function from1234($x) {
return $x;
}
function bar() {
yield 24;
}
function foo() {
yield from1234(42);
yield from(bar());
}
foreach (foo() as $value) {
var_dump($value);
}
?>
--EXPECT--
int(42)
int(24)
| PHP | 4 | NathanFreeman/php-src | Zend/tests/generators/yield_from_greedy_parse.phpt | [
"PHP-3.01"
] |
(***********************************************************
EVENT TEST EXAMPLE
Website: https://sourceforge.net/projects/amx-test-suite/
An example of how to use an include file that was set up
for event testing within the production environment.
*********************************... | NetLinx | 3 | RBSystems/amx-test-suite | examples/(2) events/event-test-example.axs | [
"Apache-2.0"
] |
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Whole genome shotgun assembler using phrap (for Sanger-based reads)"
HOMEPAGE="https://sourceforge.net/projects/phusion2"
SRC_URI="https://downloads.sourceforge.net/project/${PN}/${P}.tar.gz"
L... | Gentoo Ebuild | 4 | justxi/sci | sci-biology/phusion2/phusion2-3.0.ebuild | [
"BSD-3-Clause"
] |
#tag Class
Protected Class HeapEntryInformationWFS
#tag Method, Flags = &h0
Sub Constructor()
// Default constructor, do nothing
End Sub
#tag EndMethod
#tag Method, Flags = &h0
Sub Constructor(mb as MemoryBlock)
// Ensure that things are sane
if mb = nil or mb.Long( 0 ) <> mb.Size then return
... | REALbasic | 4 | bskrtich/WFS | Windows Functionality Suite/Process Management/Classes/HeapEntryInformationWFS.rbbas | [
"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++ | 5 | seeclong/apollo | modules/canbus/vehicle/gem/protocol/accel_cmd_67.cc | [
"Apache-2.0"
] |
(module
(type $t0 (func (result i32)))
(type $t1 (func (param i32) (result i32)))
(import "./wasm-table-export.wat" "table" (table $./wasm-table-export.wasm.table 2 anyfunc))
(func $callByIndex (export "callByIndex") (type $t1) (param $i i32) (result i32)
(call_indirect (type $t0)
(get_local $i))))
| WebAssembly | 3 | 1shenxi/webpack | test/cases/wasm/table/wasm-table-imported.wat | [
"MIT"
] |
use std::ops::Deref;
struct DerefWithHelper<H, T> {
pub helper: H,
pub value: Option<T>
}
trait Helper<T> {
fn helper_borrow(&self) -> &T;
}
impl<T> Helper<T> for Option<T> {
fn helper_borrow(&self) -> &T {
self.as_ref().unwrap()
}
}
impl<T, H: Helper<T>> Deref for DerefWithHelper<H, T> ... | Rust | 4 | Eric-Arellano/rust | src/test/ui/overloaded/auxiliary/overloaded_autoderef_xc.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
package com.alibaba.json.bvt.parser.deser.deny;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONException;
import com.alibaba.fastjson.parser.ParserConfig;
import junit.framework.TestCase;
public class DenyTest6 extends TestCase {
public void test_autoTypeDeny() throws Exception {
Parse... | Java | 4 | Czarek93/fastjson | src/test/java/com/alibaba/json/bvt/parser/deser/deny/DenyTest6.java | [
"Apache-2.0"
] |
struct LLVM::GlobalCollection
def initialize(@mod : Module)
end
def add(type, name)
# check_type_context(type, name)
Value.new LibLLVM.add_global(@mod, type, name)
end
def []?(name)
global = LibLLVM.get_named_global(@mod, name)
global ? Value.new(global) : nil
end
def [](name)
glob... | Crystal | 4 | n00p3/crystal | src/llvm/global_collection.cr | [
"Apache-2.0"
] |
# Config for production
# This is turned off in development as it is relatively slow.
# This is needed to get accurate lastMod and Git commit info
# on the docs pages.
enableGitInfo = true | TOML | 3 | jlevon/hugo | docs/config/production/config.toml | [
"Apache-2.0"
] |
CREATE TABLE `tb_quilrfojmp` (
`col_ruygkecjzp` longblob,
`col_orycjbfrss` year DEFAULT '2019',
`col_aqqnunnega` varbinary(225),
`col_pxwauaruqw` enum('enum_or_set_0','enum_or_set_1','enum_or_set_2') CHARACTER SET utf8 DEFAULT 'enum_or_set_0',
UNIQUE `col_ruygkecjzp` (`col_ruygkecjzp`(14),`col_orycjbfrss`)
) ... | SQL | 2 | yuanweikang2020/canal | parse/src/test/resources/ddl/table/test_1.sql | [
"Apache-2.0"
] |
{:duct.server.http/jetty {:ssl? false}} | edn | 2 | xsoheilalizadeh/FrameworkBenchmarks | frameworks/Clojure/duct/resources/hello/server-jetty.edn | [
"BSD-3-Clause"
] |
module Data.Rel.Complement
import Data.Rel
import Data.Fun
import Data.Fun.Extra
import Data.HVect
%default total
||| The logical complement of a relation.
public export
complement : {ts : Vect n Type} -> (p : Rel ts) -> Rel ts
complement = chain Not
||| The negation of a relation for some elements
||| is equal to... | Idris | 4 | ska80/idris-jvm | libs/contrib/Data/Rel/Complement.idr | [
"BSD-3-Clause"
] |
server {
#listen 80;
server_name iot.zserg.net;
access_log /var/log/nginx/example.log;
listen 443; # <-
ssl on; # <-
ssl_certificate /etc/ssl/iot_server.crt; # <-
ssl_certificate_key /etc/ssl/iot_server.key; # <-
location /static/ {
alias /var/projects/iot_server/static/;... | Nginx | 4 | zserg/iot_server | deployment/iot_server.nginxconf | [
"MIT"
] |
package com.baeldung.mediator;
public class Mediator {
private Button button;
private Fan fan;
private PowerSupplier powerSupplier;
public void setButton(Button button) {
this.button = button;
this.button.setMediator(this);
}
public void setFan(Fan fan) {
this.fan = fa... | Java | 4 | DBatOWL/tutorials | patterns/design-patterns-behavioral/src/main/java/com/baeldung/mediator/Mediator.java | [
"MIT"
] |
def matches:
type == "string"
and test("(?x:
^
(?: \\d{4}-\\d{2}-\\d{2}T
| \\w{3},[ ][\\d ]\\d[ ]\\w{3}[ ]\\d{4}
)
)");
del(.Id, .Properties.provisioningState, .Properties.state, .Properties.resourceGuid) |
walk(if type=="object"
then with_entries(if .value|matches then empty else . end)
... | JSONiq | 1 | StefanIvemo/AzOps | src/data/template/generic.jq | [
"MIT"
] |
cmake_minimum_required(VERSION 3.5)
if(COMMAND toolchain_save_config)
return() # prevent recursive call
endif()
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_VERSION 1)
include("${CMAKE_CURRENT_LIST_DIR}/gnu.toolchain.cmake")
MESSAGE(STATUS "Debug: CMAKE_C_COMPILER: ${CMAKE_C_COMPILER}")
if(NOT "x${GCC_COMPILER_... | CMake | 4 | xipingyan/opencv | platforms/linux/riscv.toolchain.cmake | [
"Apache-2.0"
] |
import .example;
int main()
{
// ----- Object creation -----
write("Creating some objects:\n");
Circle c = Circle(10.0);
write(" Created circle.\n");
Square s = Square(10.0);
write(" Created square.\n");
// ----- Access a static member -----
write("\nA total of " + Shape_nshape... | Pike | 4 | duonglvtnaist/Multi-ROMix-Scrypt-Accelerator | Software/CPU/myscrypt/build/cmake-3.12.3/Tests/UseSWIG/runme.pike | [
"MIT"
] |
(defprolog enjoys
mark chocolate <--;
mark tea <--;)
(defprolog fads
X <-- (findall Y (enjoys X Y) Likes) (return Likes);) | Shen | 3 | tizoc/chibi-shen | shen-test-programs/findall.shen | [
"BSD-3-Clause"
] |
/******************************************************************************
* Copyright 2020 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 | modules/perception/lidar/lib/detector/point_pillars_detection/params.h | [
"Apache-2.0"
] |
; Test that GCOV instrumentation numbers functions correctly when some
; functions aren't emitted.
; Inject metadata to set the .gcno file location
; RUN: rm -rf %t && mkdir -p %t
; RUN: echo '!14 = !{!"%/t/function-numbering.ll", !0}' > %t/1
; RUN: cat %s %t/1 > %t/2
; RUN: opt -insert-gcov-profiling -S < %t/2 | Fil... | LLVM | 5 | medismailben/llvm-project | llvm/test/Transforms/GCOVProfiling/function-numbering.ll | [
"Apache-2.0"
] |
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64--linux"
@main.uint8SliceSrc.buf = internal global [2 x i8] c"\03d"
@main.uint8SliceSrc = internal unnamed_addr global { i8*, i64, i64 } { i8* getelementptr inbounds ([2 x i8], [2 x i8]* @main.uint8SliceSrc.buf, i32 0, i32 0), i64 2, i6... | LLVM | 4 | ybkimm/tinygo | interp/testdata/slice-copy.ll | [
"Apache-2.0"
] |
<img src="image.jpg?as=webp" alt="test image" />
| HTML | 2 | acidburn0zzz/parcel | packages/core/integration-tests/test/integration/image/reformat.html | [
"MIT"
] |
class Foo {
Void foo(Int x) { }
Int test1(Int x)
{
foo(x)
++x
return x
}
} | Fantom | 0 | fanx-dev/fanx | compiler/testCompilerx/res/regression/test1150.fan | [
"AFL-3.0"
] |
Province/State,Country/Region,Last Update,Confirmed,Deaths,Recovered
Hubei,Mainland China,2/6/20 12:33,19665,549,712
Guangdong,Mainland China,2/6/20 12:43,970,0,69
Zhejiang,Mainland China,2/6/20 10:53,954,0,94
Henan,Mainland China,2/6/20 11:23,851,2,56
Hunan,Mainland China,2/6/20 13:13,711,0,81
Jiangxi,Mainland C... | CSV | 3 | elammertsma/COVID-19 | archived_data/archived_daily_case_updates/02-06-2020_1318.csv | [
"CC-BY-4.0"
] |
#: * `formulae`
#:
#: List all locally installable formulae including short names.
#:
# HOMEBREW_LIBRARY is set by bin/brew
# shellcheck disable=SC2154
source "${HOMEBREW_LIBRARY}/Homebrew/items.sh"
homebrew-formulae() {
homebrew-items 'Casks' 's|/Formula/|/|' '^homebrew/core'
}
| Shell | 4 | ylht/brew | Library/Homebrew/cmd/formulae.sh | [
"BSD-2-Clause"
] |
;-----------------------------------------------------------------------------;
; Author: Unknown
; Compatible: Windows Server 2003, IE Versions 4 to 6
; Build: >build.py stager_reverse_http_proxy_pstore
;-----------------------------------------------------------------------------;
[BITS 32]
[ORG 0]
cld ... | Assembly | 2 | OsmanDere/metasploit-framework | external/source/shellcode/windows/x86/src/stager/stager_reverse_http_proxy_pstore.asm | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
// ISSUE: KT-20423
// !LANGUAGE: -SealedInterfaces
// !DIAGNOSTICS: -UNUSED_VARIABLE
sealed interface Base
| Kotlin | 4 | Mu-L/kotlin | compiler/testData/diagnostics/tests/sealed/interfaces/sealedInterfacesDisabled.fir.kt | [
"ECL-2.0",
"Apache-2.0"
] |
// Pixi texture info
varying vec2 vTextureCoord;
uniform sampler2D uSampler;
// Tint
uniform vec4 uColor;
// on 2D applications fwidth is screenScale / glyphAtlasScale * distanceFieldRange
uniform float uFWidth;
void main(void) {
// To stack MSDF and SDF we need a non-pre-multiplied-alpha texture.
... | GLSL | 4 | fanlistener/pixijs | packages/text-bitmap/src/shader/msdf.frag | [
"MIT"
] |
/// docs for foo
#[deprecated(since = "1.2.3", note = "text")]
#[macro_export]
macro_rules! foo {
($($tt:tt)*) => {}
}
// @has macro_by_example/macros/index.html
pub mod macros {
// @!has - 'pub use foo as bar;'
// @has macro_by_example/macros/macro.bar.html
// @has - '//*[@class="docblock"]' 'docs for... | Rust | 4 | Eric-Arellano/rust | src/test/rustdoc/inline_local/macro_by_example.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
import org.gradle.api.Action
import org.gradle.api.Project
import org.gradle.api.invocation.Gradle
import java.text.SimpleDateFormat
/**
* <pre>
* author: blankj
* blog : http://blankj.com
* time : 2019/08/16
* desc :
* </pre>
*/
class GitUtils {
private static Project rootProject;
... | Groovy | 5 | YashBangera7/AndroidUtilCode | buildSrc/src/main/groovy/GitUtils.groovy | [
"Apache-2.0"
] |
disabled_for_roles:
- child | YAML | 0 | gh-oss-contributor/graphql-engine-1 | cli/internal/metadataobject/graphql_schema_introspection/testdata/metadata/graphql_schema_introspection.yaml | [
"Apache-2.0",
"MIT"
] |
<?php
$this->layout('main', ['title' => $title, 'manual' => true]);
?>
<?php foreach ($log_records as $id => $row): ?>
<div class="card mb-3" id="log-view">
<div class="card-header" id="log-row-<?=$id?>">
<h4 class="mb-0">
<?php if ($row['level'] === \Monolog\Logger::DEBUG): ?>
... | HTML+PHP | 4 | ikafridi/PlayCast | templates/system/log_view.phtml | [
"Apache-2.0"
] |
{
// json5 parser should ignore this comment
"data": "lorem ispum"
}
| JSON5 | 1 | ahippler/node-convict | packages/convict/test/cases/formats/data.json5 | [
"Apache-2.0"
] |
<html>
<body>
<main style="background: linear-gradient(yellow, blue); height: 250vh; transition: 10s;"></main>
<script>
window.addEventListener('scroll', () => {
const main = document.getElementsByTagName('main')[0]
main.style.height = "50vh";
})
</script>
</body>
</html>
| HTML | 3 | bkucera2/cypress | packages/driver/cypress/fixtures/issue-6099.html | [
"MIT"
] |
register '$EB_HOME/*/target/*.jar';
raw_data = load '/path/to/input_files' using ProtobufPigLoader('com.twitter.elephantbird.examples.proto.AddressBookProtos.Person');
person_phone_numbers = foreach raw_data generate name, FLATTEN(phone.phone_tuple.number) as phone_number;
phones_by_person = group person_phone_numbe... | PigLatin | 3 | bcoverston/elephant-bird | examples/src/main/pig/people_phone_number_count.pig | [
"Apache-2.0"
] |
\documentclass[fleqn, draft]{article}
\usepackage{proof, amsmath, amssymb, ifthen}
\input{macros.tex}
% types
\newcommand{\Arrow}[3][-]{#2 \overset{#1}{\rightarrow} #3}
\newcommand{\Bool}{\mathbf{bool}}
\newcommand{\Bottom}{\mathbf{bottom}}
\newcommand{\Dynamic}{\mathbf{dynamic}}
\newcommand{\Null}{\mathbf{Null}}
\new... | TeX | 4 | omerlevran46/sdk | pkg/dev_compiler/doc/definition/strong-dart.tex | [
"BSD-3-Clause"
] |
$accentColor = #1f6286
$contentWidth = 882px | Stylus | 0 | TheEssenceSentry/AI-Expert-Roadmap | .vuepress/styles/palette.styl | [
"MIT"
] |
@file:JvmName("Utils")
@file:JvmMultifileClass
fun f(x: Int) {}
fun g(x: Int?) {}
| Groff | 2 | qussarah/declare | jps-plugin/testData/incremental/classHierarchyAffected/multifilePackagePartMethodAdded/partB.kt.new.1 | [
"Apache-2.0"
] |
Filters:Play HTTP filters
GzipEncoding:Configuring gzip encoding
SecurityHeaders:Configuring security headers
CorsFilter:Configuring CORS
CspFilter:Configuring CSP
AllowedHostsFilter:Configuring allowed hosts
RedirectHttpsFilter:Configuring HTTPS redirect
| TeX | 3 | eed3si9n/playframework | documentation/manual/working/commonGuide/filters/index.toc | [
"Apache-2.0"
] |
v
2
>:~:0`#v_$86*1+2186*31ppv
^+1p0\ <
v <
v <
>21g86*-2+0g 31g86*-2+0g - v
v _ 21g86*-2+0g ,@
>31g 1- 31p ^
>31g86*-|
>21g1+: 21p 1- 31p ^
# 27/11/2017
| Befunge | 0 | tlgs/dailyprogrammer | Befunge/easy/e340.befunge | [
"Unlicense"
] |
module org-openroadm-routing-constraints {
namespace "http://org/openroadm/routing/constrains";
prefix org-openroadm-routing-constraints;
organization
"Open ROADM MSA";
contact
"OpenROADM.org";
description
"YANG definitions of routing constraints.
Copyright of the Members of the Open... | YANG | 4 | meodaiduoi/onos | models/openroadm/src/main/yang/org-openroadm-routing-constraints@2016-10-14.yang | [
"Apache-2.0"
] |
[CustomMessages]
de.dotnetfx35lp_title=.NET Framework 3.5 Sprachpaket: Deutsch
es.dotnetfx35lp_title=.NET Framework 3.5 paquete de idioma: Español
es.dotnetfx35lp_size=32,1 MB
de.dotnetfx35lp_size=32,5 MB
es.dotnetfx35lp_size_x64=43,3 MB
de.dotnetfx35lp_size_x64=44 MB
;http://www.microsoft.com/globaldev/re... | Inno Setup | 3 | internetsimple/Bulk-Crap-Uninstaller | installer/scripts/products/dotnetfx35lp.iss | [
"Apache-2.0"
] |
/*
* @LANG: c++
*
* Test works with split code gen.
*/
#include "cppscan1.h"
#ifdef PERF_TEST
/* Calibrated to 1s on yoho. */
#define perf_iters ( 158428ll * S )
int _perf_dummy = 0;
#define perf_printf(...) ( _perf_dummy += 1 )
#define perf_loop long _pi; for ( _pi = 0; _pi < perf_iters; _pi++ )
#else
#defin... | Ragel in Ruby Host | 5 | podsvirov/colm-suite | test/ragel.d/cppscan1.rl | [
"MIT"
] |
"""Test cases for the API stream sensor."""
from homeassistant.bootstrap import async_setup_component
from homeassistant.components.websocket_api.auth import TYPE_AUTH_REQUIRED
from homeassistant.components.websocket_api.http import URL
from .test_auth import test_auth_active_with_token
async def test_websocket_api... | Python | 4 | MrDelik/core | tests/components/websocket_api/test_sensor.py | [
"Apache-2.0"
] |
#world {
polygon-pattern-file: url('http://a.tile.openstreetmap.org/0/0/0.png');
}
| CartoCSS | 2 | nimix/carto | test/rendering/external_image.mss | [
"Apache-2.0"
] |
*** Settings ***
Suite Setup Check That Default Orders Are Correct
Resource cli_resource.robot
*** Variables ***
@{DEFAULT SUITE ORDER} Suite First Sub.Suite.1 Suite3 Suite4 Suite5
... Suite10 Suite 6 SUite7 suiTe 8 Suite 9 Name
@{DEFAULT TEST ORDE... | RobotFramework | 4 | rdagum/robotframework | atest/robot/cli/runner/randomize.robot | [
"ECL-2.0",
"Apache-2.0"
] |
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | Thrift | 4 | Jimexist/thrift | lib/netstd/Tests/Thrift.PublicInterfaces.Compile.Tests/Thrift5382.thrift | [
"Apache-2.0"
] |
class _TestRecord
"""
Store and report the result and log from a single test.
"""
let _env: Env
let name: String
var _pass: Bool = false
var _log: (Array[String] val | None) = None
new create(env: Env, name': String) =>
_env = env
name = name'
fun ref _result(pass: Bool, log: Array[String] ... | Pony | 4 | presidentbeef/ponyc | packages/ponytest/_test_record.pony | [
"BSD-2-Clause"
] |
// run-pass
fn main() {
static NONE: Option<((), &'static u8)> = None;
let ptr = unsafe {
*(&NONE as *const _ as *const *const u8)
};
assert!(ptr.is_null());
}
| Rust | 3 | Eric-Arellano/rust | src/test/ui/issues/issue-21721.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
<% @page_title = 'Setup' -%>
<% if defined?(@session_wiped) or @cleared_tables.any? or @loaded_fixtures.any? -%>
<div id="notice">
<% if defined?(@session_wiped) -%>
<p>The session is wiped clean.</p>
<% end-%>
<% if @cleared_tables.any? -%>
<p>The following database tables are cleared:</p>
<ul>... | RHTML | 4 | RockHong/railscasts-episodes | episode-116/store/vendor/plugins/selenium-on-rails/lib/views/setup.rhtml | [
"MIT"
] |
-- check that a package version has been installed
set packageIdentifier to ""
set installedPath to ""
set installedVersion to ""
repeat with candidateIdentifier in {"rethinkdb", "com.rethinkdb", "com.rethinkdb.server"}
set installedPath to do shell script "/usr/sbin/pkgutil --pkg-info " & candidateIdentifier & " | aw... | AppleScript | 5 | zadcha/rethinkdb | packaging/osx/uninstall.scpt | [
"Apache-2.0"
] |
// fake-iprouter.click
// This file is a network-independent version of the IP router
// configuration used in our SOSP paper.
// The network sources (FromDevice or PollDevice elements) have been
// replaced with an InfiniteSource, which sends exactly the packets we sent
// in our tests. The ARPQueriers have been rep... | Click | 5 | MacWR/Click-changed-for-ParaGraph | conf/fake-iprouter.click | [
"Apache-2.0"
] |
/*
* Copyright (c) 2021, Matthew Olsson <mattco@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibPDF/Object.h>
#include <LibPDF/Value.h>
namespace PDF {
String Value::to_string(int indent) const
{
return visit(
[&](Empty const&) -> String {
// Return type deductio... | C++ | 4 | r00ster91/serenity | Userland/Libraries/LibPDF/Value.cpp | [
"BSD-2-Clause"
] |
// License Agreement
// For Open Source Computer Vision Library
//
// Copyright (C) 2010-2012, Institute Of Software Chinese Academy Of Science, all rights reserved.
// Copyright (C) 2010-2012, Advanced Micro Devices, Inc., all rights reserved.
// Third party copyrights are prop... | OpenCL | 5 | thisisgopalmandal/opencv | modules/imgproc/src/opencl/medianFilter.cl | [
"BSD-3-Clause"
] |
Note 0
Copyright (C) 2017 Jonathan Hough. All rights reserved.
)
NB. Implementation of unconstrained BFGS and Limited Memory BFGS function
NB. minimization algorithms.
NB. This implementation is not particularly optimized, other possible implementation
NB. is at: https://gist.github.com/jxy/9db97e44708d0946c3da2d7e82f... | J | 4 | jonghough/jlearn | optimize/lbfgs.ijs | [
"MIT"
] |
ruleset G2S.agency {
meta {
shares __testing
use module G2S.indy_sdk.pool alias pool_module
}
global {
__testing = { "queries":
[ { "name": "__testing" }
//, { "name": "entry", "args": [ "key" ] }
] , "events":
[ //{ "domain": "d1", "type": "t1" }
//, { "do... | KRL | 4 | Picolab/G2S | krl/g2s.agency.krl | [
"MIT"
] |
*Test Cases*
Non-ASCII Directory (€ÅÄÖ§)
Log Hello from non-ASCII dir path
| RobotFramework | 3 | phil-davis/robotframework | atest/testdata/parsing/non_ascii_paths/Ty-ouml/sect-test-sect.robot | [
"ECL-2.0",
"Apache-2.0"
] |
{
'body': {
'0': {
'declarations': {
'0': {
'init': {
'body': {
'body': {
'0': {
'range': { '1': 35 },
'loc': { 'end': { 'column': 35 }}
}
}
}
}
}
... | Diff | 1 | Hans-Halverson/flow | src/parser/test/esprima/declaration/function/migrated_0011.diff | [
"MIT"
] |
target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
target triple = "wasm32-unknown-unknown-wasm"
declare i64 @externalCall(i8*, i32, i64)
define internal i64 @testCall(i8* %ptr, i32 %len, i64 %foo) {
%val = call i64 @externalCall(i8* %ptr, i32 %len, i64 %foo)
ret i64 %val
}
define internal i64 @testCallNonEn... | LLVM | 3 | ybkimm/tinygo | transform/testdata/wasm-abi.ll | [
"Apache-2.0"
] |
PREFIX : <http://example.org/x/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?x ?y
WHERE {
?x :p ?y .
?y rdf:type :c .
}
| SPARQL | 3 | yanaspaula/rdf4j | testsuites/sparql/src/main/resources/testcases-sparql-1.1-w3c/entailment/owlds02.rq | [
"BSD-3-Clause"
] |
> {
> module Parser (parse) where
> import Type
> import Lexer
> }
> %token
> backslash { Builtin "\\" }
> var { Ident $$ }
> rightarrow { Builtin "->" }
> caseT { Builtin "case" }
> letT { Builtin "let" }
> ofT { Builtin "of" }
> inT { Builtin "in" }
> letnT { Builtin "letn" }
> leftcurly { Le... | LilyPond | 5 | sheaf/happy | examples/SimonsExample.ly | [
"BSD-2-Clause"
] |
/// <reference path='fourslash.ts'/>
// @noImplicitReferences: true
// @Filename: /node_modules/a/index.d.ts
////import X from "x";
////export function a(x: X): void;
// @Filename: /node_modules/a/node_modules/x/index.d.ts
////export default class /*defAX*/X {
//// private x: number;
////}
// @Filename: /node_mod... | TypeScript | 5 | nilamjadhav/TypeScript | tests/cases/fourslash/duplicatePackageServices_fileChanges.ts | [
"Apache-2.0"
] |
--TEST--
using invalid combinations of cmdline options
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) != 'WIN') {
die ("skip Windows only");
}
include "skipif.inc";
?>
--FILE--
<?php
include "include.inc";
$php = get_cgi_path();
reset_env_vars();
var_dump(`$php -n -a -f "wrong"`);
var_dump(`$php -n -f "wrong" -a`);... | PHP | 3 | NathanFreeman/php-src | sapi/cgi/tests/005-win32.phpt | [
"PHP-3.01"
] |
import io.vertx.ceylon.platform {
Verticle,
Container
}
import io.vertx.ceylon.core {
Vertx
}
import io.vertx.ceylon.core.eventbus {
Message
}
shared class Receiver() extends Verticle() {
shared actual void start(Vertx vertx, Container container) {
vertx.eventBus.registerHandler {
address = "ping... | Ceylon | 4 | vietj/vertx-examples | src/raw/ceylon/eventbus_pointtopoint/Receiver.ceylon | [
"Apache-2.0"
] |
t ia2 -3a 0 1 0 0
t ia2 -ca enable
t ia2 -adj ae
t ia2 -ae on
t app protune on
t app white_balance auto
| AGS Script | 0 | waltersgrey/autoexechack | CA/autoexec.ash | [
"MIT"
] |
unit
class StandardEnemyUnit
export setMaxEnemies, maxEnemies, initializeEnemy, sameAngleEnemy, drawEnemies, enemyErase, stopAllEnemies, setWalls,
getArrayPosition, getClosestEnemy, setAngleX, setAngleY, getAngleX, getAngleY, angleNormalize, setCharX, setCharY, setCharacterParam,
setIsCharDead, getIsCharDead, cha... | Turing | 5 | ajnavarro/language-dataset | data/github.com/KoishiKomeiji/TouhouGame/251a6a8a96cfccd1a9a9d751c4c1e120fc1a87b2/Classes/Enemies/StandardEnemies.tu | [
"MIT"
] |
" Vim syntax file
" Language: SGML-linuxdoc (supported by old sgmltools-1.x)
" Maintainer: SungHyun Nam <goweol@gmail.com>
" Last Change: 2013 May 13
" quit when a syntax file was already loaded
if exists("b:current_syntax")
finish
endif
syn case ignore
" tags
syn region sgmllnxEndTag start=+</+ end=+>+ contain... | VimL | 4 | uga-rosa/neovim | runtime/syntax/sgmllnx.vim | [
"Vim"
] |
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 20 20" height="20" viewBox="0 0 20 20" width="20"><g><rect fill="none" height="20" width="20"/><path d="M10,14H6l-3,3V4c0-0.55,0.45-1,1-1h12c0.55,0,1,0.45,1,1v4l-1-0.02V4H4v9l6,0V14z M18,10.76l-0.71-0.71l-3.54,3.54 l-1.41-1.41l-0.71,0.71L13.76,15L18,10.... | SVG | 1 | mobiledesres/material-icons | svg/communication/mark_chat_read/materialiconsoutlined/20px.svg | [
"Apache-2.0"
] |
h2. Link Browser Plugin
The Link Browser Plugin provides an easy to use user interface to select resources provided by the Aloha Editor Repository API.
endprologue.
h3. Overview
The Link Browser is an extension of the "Browser Plugin":plugin_browser.html and can be accessed via the Link plugin.
h3. Usage
Select ... | Textile | 3 | luciany/Aloha-Editor | doc/guides/source/plugin_linkbrowser.textile | [
"CC-BY-3.0"
] |
/*
* Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
package functionalTypes
import kotlin.test.*
typealias AN = Any?
typealias F2 = (AN, AN) -> AN
typealias F5 = (AN, AN, AN, AN, AN) -> AN
typealias F6 = (AN, AN, AN, A... | Kotlin | 4 | Mu-L/kotlin | kotlin-native/backend.native/tests/objcexport/functionalTypes.kt | [
"ECL-2.0",
"Apache-2.0"
] |
import curry from 'next/dist/compiled/lodash.curry'
import { webpack } from 'next/dist/compiled/webpack/webpack'
export const loader = curry(function loader(
rule: webpack.RuleSetRule,
config: webpack.Configuration
) {
if (!config.module) {
config.module = { rules: [] }
}
if (rule.oneOf) {
const exi... | TypeScript | 4 | blomqma/next.js | packages/next/build/webpack/config/helpers.ts | [
"MIT"
] |
Red/System [
Title: "Red/System testdynamic link library"
Author: "Nenad Rakocevic & Peter W A Wood"
File: %test-dll2.reds
Rights: "Copyright (C) 2012-2015 Nenad Rakoceivc & Peter W A Wood. All rights reserved."
License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt"
]
neg: func [
i ... | Red | 4 | 0xflotus/red | system/tests/source/units/libtest-dll2.reds | [
"BSL-1.0",
"BSD-3-Clause"
] |
2016-02-18 11:39:04 purple_request_3 Enter password for two factor authentication
2016-02-18 11:39:04 [11:39]
2016-02-18 11:39:13 fsociety dot.dot.dot
2016-02-18 11:39:13 - [purple_request_3] is away: Offline
2016-02-25 11:04:35 purple_request_3 Enter password for two factor authentication
2016-04-06 15:06:02 purple... | IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.bitlbee.purple_request_3.weechatlog | [
"MIT"
] |
C Copyright(c) 1998, Space Science and Engineering Center, UW-Madison
C Refer to "McIDAS Software Acquisition and Distribution Policies"
C in the file mcidas/data/license.txt
C *** $Id: nvxgoes.dlm,v 1.10 1998/10/13 20:25:51 dglo Exp $ ***
C ? NVXGOE (DAS)
C
C THIS ROUTINE SETS UP COMMON BLOCKS NAVCOM AND NAVINI FO... | IDL | 5 | oxelson/gempak | extlibs/AODT/v72/odtmcidas/navcal/navcal/nvxgoes.dlm | [
"BSD-3-Clause"
] |
// (c) Copyright 1995-2019 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
//
// DISCLAIMER
// This disclaimer is not a license and does not grant ... | Verilog | 3 | JKHHai/galapagos | shells/shell_ips/tcp/repo/tcp_ip_0/tcp_ip.srcs/sources_1/ip/udp_0/udp_0.veo | [
"MIT"
] |
-- Copyright 2021 Jeff Foley. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "IntelX"
type = "api"
useragent = "OWASP Amass"
host = "https://2.intelx.io/"
max = 1000
function start()
set_rate_limit(2)
end
... | Ada | 4 | Elon143/Amass | resources/scripts/api/intelx.ads | [
"Apache-2.0"
] |
DAFETF NAIF DAF ENCODED TRANSFER FILE
'DAF/CK '
'2'
'6'
'MRO TLM-Based SC Bus CK File by NAIF/JPL '
BEGIN_ARRAY 1 443
'MRO SC BUS TLM-BASED QUATS/AVS '
'37547D0468^A'
'37547D0F28^A'
'-12110'
'-12494'
'3'
'1'
443
'39AED9021B1A92^-1'
'14623AC3B0A4BB^0'
'612BC8514C08C4^-1'
'FF16E5AB0B483^0'
'-... | XC | 3 | ladoramkershner/ale | tests/pytests/data/B10_013341_1010_XN_79S172W/mro_sc_psp_090526_090601_1_sliced_-74000.xc | [
"Unlicense"
] |
package com.baeldung.requestresponsebody;
public class ResponseTransfer {
private String text;
public ResponseTransfer(String text) {
this.setText(text);
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
} | Java | 4 | DBatOWL/tutorials | spring-boot-rest/src/main/java/com/baeldung/requestresponsebody/ResponseTransfer.java | [
"MIT"
] |
// This file contains various functions for printing generated output
staload "SATS/filetype.sats"
staload "libats/ML/SATS/string.sats"
fun print_file(pt : !pl_type, string) : string
// function to print tabular output at the end
fn make_table(source_contents, bool) : string
// Function to print output sorted by typ... | ATS | 3 | lambdaxymox/polyglot | SATS/print.sats | [
"BSD-3-Clause"
] |
TOKENIZERS_PARALLELISM=true python run_mlm_performer.py --output_dir experiments --dataset_name wikipedia --dataset_config_name 20200501.simple --model_name_or_path bert-base-cased --tokenizer_name bert-base-cased --do_train --overwrite_output_dir --per_device_train_batch_size 4 --learning_rate 5e-4 --warmup_steps 100... | Shell | 2 | liminghao1630/transformers | examples/research_projects/performer/sanity_script.sh | [
"Apache-2.0"
] |
// @filename: gridview.ts
export type Sizing = any;
export const Sizing = null;
// @filename: index.ts
// https://github.com/microsoft/TypeScript/issues/39195
export { Sizing as GridViewSizing } from './gridview';
export namespace Sizing {
export const Distribute = { type: 'distribute' };
} | TypeScript | 3 | monciego/TypeScript | tests/cases/compiler/reexportNameAliasedAndHoisted.ts | [
"Apache-2.0"
] |
INSERT INTO Foo(id, title, body) VALUES (1, 'Foo 1', 'Foo body 1');
INSERT INTO Foo(id, title, body) VALUES (2, 'Foo 2', 'Foo body 2');
INSERT INTO Foo(id, title, body) VALUES (3, 'Foo 3', 'Foo body 3');
| SQL | 1 | DBatOWL/tutorials | spring-boot-modules/spring-boot-springdoc/src/main/resources/data.sql | [
"MIT"
] |
FORMAT: 1A
# Beehive API
## Honey [/honey]
### Remove [DELETE]
+ Parameters
+ beekeeper: Honza (string)
+ Response 203
| API Blueprint | 3 | tomoyamachi/dredd | packages/dredd-transactions/test/fixtures/apib/not-specified-in-uri-template-annotation.apib | [
"MIT"
] |
scriptname TentSystem hidden
{Interface between _Camp_TentSystem and mods that implement Campfire tents.}
import _CampInternal
_Camp_TentSystem function GetAPI() global
return (Game.GetFormFromFile(0x00025BC2, "Campfire.esm") as Quest) as _Camp_TentSystem
endFunction
function UpdateTentUseState(ObjectReference akTe... | Papyrus | 4 | chesko256/Campfire | Scripts/Source/TentSystem.psc | [
"MIT"
] |
.rule-import2 {
background: lightgreen;
} | CSS | 1 | 1shenxi/webpack | test/cases/loaders/less-loader/node_modules/resources-module/stylesheet-import2.css | [
"MIT"
] |
[ 99 Bottles of Beer in Brainf*** by Eric Bock - ebock@uswest.net ]
+++++++++>+++++++++>>>++++++[<+++>-]+++++++++>+++++++++>>>>>>+++++++++++++[<+++
+++>-]>+++++++++++[<++++++++++>-]<+>>++++++++[<++++>-]>+++++++++++[<++++++++++>
-]<->>+++++++++++[<++++++++++>-]<+>>>+++++[<++++>-]<-[<++++++>-]>++++++++++[<++
++++++++>-]... | Brainfuck | 2 | RubenNL/brainheck | examples/bottles-3.bf | [
"Apache-2.0"
] |
import net/[berkeley, Socket, Address, DNS, Exceptions, utilities]
import io/[Reader, Writer]
/**
A DATAGRAM based socket interface.
*/
UDPSocket: class extends Socket {
remote: SocketAddress
/**
Initialize the socket. Binds to all available IPs.
:param port: The port, for example 8080, ... | ooc | 5 | fredrikbryntesson/launchtest | sdk/net/UDPSocket.ooc | [
"MIT"
] |
/// <reference path='fourslash.ts' />
/////** @return {number} */
////function f() {
//// return 12;
////}
verify.codeFix({
description: "Annotate with type from JSDoc",
newFileContent:
`/** @return {number} */
function f(): number {
return 12;
}`,
});
| TypeScript | 4 | nilamjadhav/TypeScript | tests/cases/fourslash/annotateWithTypeFromJSDoc14.ts | [
"Apache-2.0"
] |
unit CompInputQueryCombo;
{
Inno Setup
Copyright (C) 1997-2020 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
InputQuery with a TComboBox instead of a TEdit
}
interface
uses
Classes, Controls, StdCtrls, UIStateForm;
type
TInputQueryCo... | Pascal | 4 | Patriccollu/issrc | Projects/CompInputQueryCombo.pas | [
"FSFAP"
] |
import * as React from 'react';
import { deepmerge } from '@mui/utils';
import { ThemeProvider as SystemThemeProvider, useTheme as useSystemTheme } from '@mui/system';
import defaultTheme, { JoyTheme } from './defaultTheme';
import { Components } from './components';
import { ExtendedColorScheme } from './types/colorSc... | TypeScript | 4 | qwaszx7003/material-ui | packages/mui-joy/src/styles/ThemeProvider.tsx | [
"MIT"
] |
diagram "invalid" {
aws.route53 "dns";
aws.cloudfront "cf";
aws.alb "lb";
dns -> cf
cf -> lb;
}
| Redcode | 3 | ralphtq/cloudgram | tests/fixtures/invalid.cw | [
"Apache-2.0"
] |
{#abstractrefinements}
========================
<div class="hidden">
\begin{code}
module AbstractRefinements where
import Prelude
import Language.Haskell.Liquid.Prelude
{-@ LIQUID "--no-termination" @-}
o, no :: Int
maxInt :: Int -> Int -> Int
\end{code}
</div>
Abstract Refinements
--------------... | Literate Haskell | 5 | curiousleo/liquidhaskell | docs/slides/IHP14/lhs/04_AbstractRefinements.lhs | [
"MIT",
"BSD-3-Clause"
] |
-- ==============================================================
-- RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and OpenCL
-- Version: 2020.2
-- Copyright (C) 1986-2020 Xilinx, Inc. All Rights Reserved.
--
-- ===========================================================
library IEEE;
use IEEE.st... | VHDL | 3 | hito0512/Vitis-AI | Whole-App-Acceleration/apps/resnet50/build_flow/DPUCVDX8G_vck190/vck190_platform/hw/source/ip/isppipeline_accel/hdl/vhdl/AXIVideo2BayerMat.vhd | [
"Apache-2.0"
] |
--TEST--
SPL: Bug#45614 (ArrayIterator can show 1st private prop of wrapped object)
--FILE--
<?php
class C {
private $priv1 = 'secret1';
private $priv2 = 'secret2';
public $pub1 = 'public1';
public $pub2 = 'public2';
public $pub3 = 'public3';
public $pub4 = 'public4';
}
function showFirstTwoIte... | PHP | 4 | thiagooak/php-src | ext/spl/tests/bug45614.phpt | [
"PHP-3.01"
] |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
... | Scala | 5 | rghwer/testdocs | scalnet/src/main/scala/org/deeplearning4j/scalnet/layers/convolutional/Upsampling3D.scala | [
"Apache-2.0"
] |
Feature: Explain and Profile
Background:
Given a graph with space named "nba"
Scenario Outline: Different format
When executing query:
"""
<explain> FORMAT="<format>" YIELD 1
"""
Then the execution should be successful
When executing query:
"""
<explain> FORMAT="<form... | Cucumber | 3 | liuqian1990/nebula | tests/tck/features/explain/ExplainAndProfile.feature | [
"Apache-2.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.